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:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-09-25 19:15:40 +0300
committerLev Dragunov <l.dragunov@corp.mail.ru>2015-10-07 14:48:50 +0300
commit2391ba6399e0548d81a9116816a8f48dd15b0b12 (patch)
treee3c82d9f2b75e00fe5ba73049f5c05ae0d4823a8 /indexer/ftypes_matcher.cpp
parent4e02b29ed50f0f2f0d794e6ee5d70c572f0dcdec (diff)
PR fixes.
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r--indexer/ftypes_matcher.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp
index 6527dc8347..b453836636 100644
--- a/indexer/ftypes_matcher.cpp
+++ b/indexer/ftypes_matcher.cpp
@@ -73,13 +73,14 @@ IsATMChecker const & IsATMChecker::Instance()
IsSpeedCamChecker::IsSpeedCamChecker()
{
Classificator const & c = classif();
- m_types.push_back(c.GetTypeByPath({ "highway", "speed_camera"}));
+ m_types.push_back(c.GetTypeByPath({"highway", "speed_camera"}));
}
+// static
IsSpeedCamChecker const & IsSpeedCamChecker::Instance()
{
- static const IsSpeedCamChecker inst;
- return inst;
+ static const IsSpeedCamChecker instance;
+ return instance;
}
IsFuelStationChecker::IsFuelStationChecker()