diff options
author | Viktor <vng@Viktors-MacBook-Pro-2.local> | 2015-07-09 04:25:19 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:55:05 +0300 |
commit | ce92434c155ef3649e4e2ed1ab3ff15cb0c0860c (patch) | |
tree | 77d5baa627a0793a20c360a4d880bc3d65bec15f /geometry | |
parent | ef3f0d1292200ac760cf70fb9034051ade85e977 (diff) |
Minor code style fix.
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/latlon.cpp | 2 | ||||
-rw-r--r-- | geometry/latlon.hpp | 3 |
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 |