From e0955ec3bd8357d0750a757d21b64e71f9abc760 Mon Sep 17 00:00:00 2001 From: vng Date: Thu, 6 Oct 2011 19:04:40 +0300 Subject: [msvc] Fix build error (ADL in msvc is buggy). --- geometry/region2d.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geometry') diff --git a/geometry/region2d.hpp b/geometry/region2d.hpp index cebe204d44..662e359a2b 100644 --- a/geometry/region2d.hpp +++ b/geometry/region2d.hpp @@ -124,7 +124,7 @@ namespace m2 void Swap(Region & rhs) { m_points.swap(rhs.m_points); - swap(m_rect, rhs.m_rect); + std::swap(m_rect, rhs.m_rect); } public: -- cgit v1.2.3