diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-02-14 11:48:14 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:12:25 +0300 |
commit | 888373df42e8b019e70177549ddb8e7aa937b714 (patch) | |
tree | 1f5f32161fa6cadb28bbc7cdb08e7d360aa4aed5 /indexer | |
parent | 42d390c83a25fd57a2fd8ef054a5fa81888439c5 (diff) |
GCC build fixes.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/indexer_tool/osm_element.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indexer/indexer_tool/osm_element.hpp b/indexer/indexer_tool/osm_element.hpp index 549fee78ee..d6831608c3 100644 --- a/indexer/indexer_tool/osm_element.hpp +++ b/indexer/indexer_tool/osm_element.hpp @@ -8,6 +8,7 @@ #include "../../base/string_utils.hpp" #include "../../base/logging.hpp" +#include "../../base/stl_add.hpp" #include "../../std/unordered_map.hpp" #include "../../std/list.hpp" @@ -386,9 +387,9 @@ class SecondPassParserUsual : public SecondPassParserBase<TEmitter, THolder> void ForEachWayPoint(uint64_t id, ToDo toDo) { WayElement e; - if (m_holder.GetWay(id, e)) + if (base_type::m_holder.GetWay(id, e)) { - process_points<ToDo> process(m_holder, toDo); + process_points<ToDo> process(base_type::m_holder, toDo); e.ForEachPoint(process); } } @@ -488,7 +489,7 @@ protected: if (role == "outer") { - ForEachWayPoint(wayID, bind(&feature_builder_t::AddPoint, ref(ft), _1)); + ForEachWayPoint(wayID, bind(&base_type::feature_builder_t::AddPoint, ref(ft), _1)); } else if (role == "inner") { @@ -496,7 +497,7 @@ protected: ForEachWayPoint(wayID, MakeBackInsertFunctor(holes.back())); - if (!IsValidHole(holes.back())) + if (!base_type::IsValidHole(holes.back())) holes.pop_back(); } } |