diff --git a/generator/place_processor.cpp b/generator/place_processor.cpp index b3b04f71ef..6a8da76b09 100644 --- a/generator/place_processor.cpp +++ b/generator/place_processor.cpp @@ -131,11 +131,6 @@ std::string FeaturePlace::GetName() const return GetFb().GetName(); } -m2::PointD FeaturePlace::GetKeyPoint() const -{ - return GetFb().GetKeyPoint(); -} - StringUtf8Multilang const & FeaturePlace::GetMultilangName() const { return GetFb().GetMultilangName(); @@ -231,7 +226,7 @@ void PlaceProcessor::Add(FeatureBuilder const & fb) return; // Objects are grouped with the same name and type. This does not guarantee that all objects describe // the same place. The logic for the separation of different places of the same name is - // implemented in the function GetPlaces(). + // implemented in the function ProcessPlaces(). m_nameToPlaces[GetKey(fb)][fb.GetMostGenericOsmId()].Append(fb); } } // namespace generator diff --git a/generator/place_processor.hpp b/generator/place_processor.hpp index 0b0b36343d..1df374ff60 100644 --- a/generator/place_processor.hpp +++ b/generator/place_processor.hpp @@ -32,7 +32,6 @@ public: base::GeoObjectId GetMostGenericOsmId() const; uint8_t GetRank() const; std::string GetName() const; - m2::PointD GetKeyPoint() const; StringUtf8Multilang const & GetMultilangName() const; bool IsPoint() const;