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:
authorAlex Zolotarev <deathbaba@gmail.com>2011-09-25 21:41:17 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:24:53 +0300
commitaf873dd691d10e2e5b18eaaa958be5d68a0aa67e (patch)
tree36f06a3e64aa1876d86e319d997ba7b32c1c7ecc /geometry
parenta9505d19eb0d388e71bb8f9fbdd24c790b34131d (diff)
Renamed debug_print to DebugPrint
Diffstat (limited to 'geometry')
-rw-r--r--geometry/cellid.hpp2
-rw-r--r--geometry/point2d.hpp2
-rw-r--r--geometry/rect2d.hpp2
-rw-r--r--geometry/region2d.hpp6
4 files changed, 6 insertions, 6 deletions
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 <int DEPTH_LEVELS> string debug_print(CellId<DEPTH_LEVELS> const & id)
+template <int DEPTH_LEVELS> string DebugPrint(CellId<DEPTH_LEVELS> 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 <typename T> string debug_print(m2::Point<T> const & p)
+ template <typename T> string DebugPrint(m2::Point<T> 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<int> RectI;
template <typename T>
- inline string debug_print(m2::Rect<T> const & r)
+ inline string DebugPrint(m2::Rect<T> 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<CoordT> m_rect;
- template <class T> friend string debug_print(Region<T> const &);
+ template <class T> friend string DebugPrint(Region<T> const &);
};
template <class TArchive, class PointT>
@@ -214,9 +214,9 @@ namespace m2
}
template <class PointT>
- inline string debug_print(Region<PointT> const & r)
+ inline string DebugPrint(Region<PointT> const & r)
{
- return (debug_print(r.m_rect) + ::debug_print(r.m_points));
+ return (DebugPrint(r.m_rect) + ::DebugPrint(r.m_points));
}
typedef Region<m2::PointD> RegionD;