diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-10-03 15:09:28 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:25:24 +0300 |
commit | 5d830d56494790a93533a9498c2d81cfd0632848 (patch) | |
tree | a69e336b5f4d163e5d89685a7cda0465f67090d7 /platform/settings.cpp | |
parent | ba7b5963e026d94becb96305d6329a7db430bf30 (diff) |
renamed AARect into AnyRect. renamed corresponding files.
Diffstat (limited to 'platform/settings.cpp')
-rw-r--r-- | platform/settings.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/settings.cpp b/platform/settings.cpp index 2bdc682075..cea9c177e5 100644 --- a/platform/settings.cpp +++ b/platform/settings.cpp @@ -3,7 +3,7 @@ #include "../defines.hpp" #include "../geometry/rect2d.hpp" -#include "../geometry/aa_rect2d.hpp" +#include "../geometry/any_rect2d.hpp" #include "../platform/platform.hpp" @@ -79,7 +79,7 @@ namespace Settings return true; } - template <> string ToString<m2::AARectD>(m2::AARectD const & rect) + template <> string ToString<m2::AnyRectD>(m2::AnyRectD const & rect) { ostringstream out; out.precision(12); @@ -91,7 +91,7 @@ namespace Settings return out.str(); } - template <> bool FromString<m2::AARectD>(string const & str, m2::AARectD & rect) + template <> bool FromString<m2::AnyRectD>(string const & str, m2::AnyRectD & rect) { istringstream in(str); double val[7]; @@ -102,7 +102,7 @@ namespace Settings if (count != 7) return false; - rect = m2::AARectD(m2::PointD(val[0], val[1]), + rect = m2::AnyRectD(m2::PointD(val[0], val[1]), ang::AngleD(val[2]), m2::RectD(val[3], val[4], val[5], val[6])); |