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:
authorViktor <vng@Viktors-MacBook-Pro-2.local>2015-07-09 04:25:19 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:55:05 +0300
commitce92434c155ef3649e4e2ed1ab3ff15cb0c0860c (patch)
tree77d5baa627a0793a20c360a4d880bc3d65bec15f /geometry
parentef3f0d1292200ac760cf70fb9034051ade85e977 (diff)
Minor code style fix.
Diffstat (limited to 'geometry')
-rw-r--r--geometry/latlon.cpp2
-rw-r--r--geometry/latlon.hpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/geometry/latlon.cpp b/geometry/latlon.cpp
index 02afbe0314..9fbb458fc0 100644
--- a/geometry/latlon.cpp
+++ b/geometry/latlon.cpp
@@ -4,10 +4,12 @@
namespace ms
{
+
string DebugPrint(LatLon const & t)
{
ostringstream out;
out << "LatLon [ " << t.lat << ", " << t.lon << " ]";
return out.str();
}
+
} // namespace ms
diff --git a/geometry/latlon.hpp b/geometry/latlon.hpp
index c84909f293..d5512993f6 100644
--- a/geometry/latlon.hpp
+++ b/geometry/latlon.hpp
@@ -4,6 +4,7 @@
namespace ms
{
+
/// \brief Class for representing WGS point.
class LatLon
{
@@ -12,6 +13,6 @@ public:
double lat, lon;
};
-inline string DebugPrint(LatLon const & t);
+string DebugPrint(LatLon const & t);
} // namespace ms