Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'search/features_layer_matcher.cpp')
-rw-r--r--search/features_layer_matcher.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/search/features_layer_matcher.cpp b/search/features_layer_matcher.cpp
index d5704ea769..97f9f1c4b8 100644
--- a/search/features_layer_matcher.cpp
+++ b/search/features_layer_matcher.cpp
@@ -7,6 +7,8 @@
#include "base/assert.hpp"
+#include <string>
+
namespace search
{
/// Max distance from house to street where we do search matching
@@ -91,7 +93,7 @@ FeaturesLayerMatcher::TStreets const & FeaturesLayerMatcher::GetNearbyStreetsImp
uint32_t FeaturesLayerMatcher::GetMatchingStreetImpl(uint32_t houseId, FeatureType & houseFeature)
{
// Check if this feature is modified - the logic will be different.
- string streetName;
+ std::string streetName;
bool const edited =
osm::Editor::Instance().GetEditedFeatureStreet(houseFeature.GetID(), streetName);