diff --git a/search/reverse_geocoder.hpp b/search/reverse_geocoder.hpp index 0a4ea1f273..3751a78f35 100644 --- a/search/reverse_geocoder.hpp +++ b/search/reverse_geocoder.hpp @@ -65,8 +65,8 @@ public: Building m_building; Street m_street; - string GetHouseNumber() const { return m_building.m_name; } - string GetStreetName() const { return m_street.m_name; } + string const & GetHouseNumber() const { return m_building.m_name; } + string const & GetStreetName() const { return m_street.m_name; } double GetDistance() const { return m_building.m_distanceMeters; } };