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/model.cpp')
-rw-r--r--search/model.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/search/model.cpp b/search/model.cpp
index 0f5f048130..5476c3b14b 100644
--- a/search/model.cpp
+++ b/search/model.cpp
@@ -114,7 +114,7 @@ Model::Type Model::GetType(FeatureType & feature) const
return TYPE_UNCLASSIFIED;
}
-string DebugPrint(Model::Type type)
+std::string DebugPrint(Model::Type type)
{
switch (type)
{
@@ -129,6 +129,6 @@ string DebugPrint(Model::Type type)
case Model::TYPE_COUNT: return "Count";
}
ASSERT(false, ("Unknown search type:", static_cast<int>(type)));
- return string();
+ return {};
}
} // namespace search