Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kunin <dkunin@mapswithme.com>2013-04-17 00:45:28 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:53:18 +0300
commit2d31ee19c6dee02c4c9175f5bdb1a56cae568dd2 (patch)
treeee34946dd26627d32162c52906c85f78f575256a /geometry
parent4591e0eca6ac41bf1b17cb9361e6066c2d9cce0d (diff)
DebugPrint() for Any_Rect. Removed unnecessary Invalidate() call.
Diffstat (limited to 'geometry')
-rw-r--r--geometry/any_rect2d.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/geometry/any_rect2d.hpp b/geometry/any_rect2d.hpp
index 52db34833d..c6d284902c 100644
--- a/geometry/any_rect2d.hpp
+++ b/geometry/any_rect2d.hpp
@@ -254,4 +254,10 @@ namespace m2
typedef AnyRect<double> AnyRectD;
typedef AnyRect<float> AnyRectF;
+
+ template <typename T>
+ inline string DebugPrint(m2::AnyRect<T> const & r)
+ {
+ return DebugPrint(r.GetGlobalRect());
+ }
}