diff options
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/packer.cpp | 2 | ||||
-rw-r--r-- | geometry/packer.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/geometry/packer.cpp b/geometry/packer.cpp index b376f35083..4cd0fb60c1 100644 --- a/geometry/packer.cpp +++ b/geometry/packer.cpp @@ -131,7 +131,7 @@ namespace m2 Packer::find_result_t Packer::find(handle_t handle) const { - unordered_map<handle_t, m2::RectU>::const_iterator it = m_rects.find(handle); + rects_t::const_iterator it = m_rects.find(handle); std::pair<bool, m2::RectU> res; res.first = (it != m_rects.end()); if (res.first) diff --git a/geometry/packer.hpp b/geometry/packer.hpp index 28c7652da6..c3879e3060 100644 --- a/geometry/packer.hpp +++ b/geometry/packer.hpp @@ -3,7 +3,7 @@ #include "rect2d.hpp" #include "../std/list.hpp" -#include "../std/unordered_map.hpp" +#include "../std/map.hpp" #include "../std/function.hpp" #include "../std/queue.hpp" @@ -46,7 +46,7 @@ namespace m2 handle_t m_currentHandle; - typedef unordered_map<handle_t, m2::RectU> rects_t; + typedef map<handle_t, m2::RectU> rects_t; rects_t m_rects; |