From af873dd691d10e2e5b18eaaa958be5d68a0aa67e Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Sun, 25 Sep 2011 20:41:17 +0300 Subject: Renamed debug_print to DebugPrint --- geometry/cellid.hpp | 2 +- geometry/point2d.hpp | 2 +- geometry/rect2d.hpp | 2 +- geometry/region2d.hpp | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'geometry') diff --git a/geometry/cellid.hpp b/geometry/cellid.hpp index ea1df53b5f..b58afb5422 100644 --- a/geometry/cellid.hpp +++ b/geometry/cellid.hpp @@ -307,7 +307,7 @@ private: int m_Level; }; -template string debug_print(CellId const & id) +template string DebugPrint(CellId const & id) { ostringstream out; out << "CellId<" << DEPTH_LEVELS << ">(\"" << id.ToString().c_str() << "\")"; diff --git a/geometry/point2d.hpp b/geometry/point2d.hpp index eaaf52dec8..07809be8a3 100644 --- a/geometry/point2d.hpp +++ b/geometry/point2d.hpp @@ -251,7 +251,7 @@ namespace m2 } } - template string debug_print(m2::Point const & p) + template string DebugPrint(m2::Point const & p) { ostringstream out; out.precision(20); diff --git a/geometry/rect2d.hpp b/geometry/rect2d.hpp index da423056cc..650ac9df84 100644 --- a/geometry/rect2d.hpp +++ b/geometry/rect2d.hpp @@ -344,7 +344,7 @@ namespace m2 typedef Rect RectI; template - inline string debug_print(m2::Rect const & r) + inline string DebugPrint(m2::Rect const & r) { ostringstream out; out.precision(20); diff --git a/geometry/region2d.hpp b/geometry/region2d.hpp index fd8c8348d5..6e29fb75ca 100644 --- a/geometry/region2d.hpp +++ b/geometry/region2d.hpp @@ -194,7 +194,7 @@ namespace m2 ContainerT m_points; m2::Rect m_rect; - template friend string debug_print(Region const &); + template friend string DebugPrint(Region const &); }; template @@ -214,9 +214,9 @@ namespace m2 } template - inline string debug_print(Region const & r) + inline string DebugPrint(Region const & r) { - return (debug_print(r.m_rect) + ::debug_print(r.m_points)); + return (DebugPrint(r.m_rect) + ::DebugPrint(r.m_points)); } typedef Region RegionD; -- cgit v1.2.3