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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-01-11 13:50:51 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-01-11 14:50:27 +0300
commita9b6e4213d2a14d6d703b73a65db5c69181d203d (patch)
treeb0d97b68b8579b55775ff1f1d3f6ada67b0e1996 /indexer/map_style_reader.cpp
parentf861910c88efb6690e89b35001c879b18cc3ec53 (diff)
Removed legacy style from code, scripts and projects
Diffstat (limited to 'indexer/map_style_reader.cpp')
-rw-r--r--indexer/map_style_reader.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/indexer/map_style_reader.cpp b/indexer/map_style_reader.cpp
index a84fd5bbca..b0e7bfced2 100644
--- a/indexer/map_style_reader.cpp
+++ b/indexer/map_style_reader.cpp
@@ -11,20 +11,17 @@
namespace
{
-const char * const kSuffixLegacyLight = "_legacy";
-const char * const kSuffixLegacyDark = "_dark";
-const char * const kSuffixModernClear = "_clear";
+const char * const kSuffixDark = "_dark";
+const char * const kSuffixClear = "_clear";
string GetStyleSuffix(MapStyle mapStyle)
{
switch (mapStyle)
{
- case MapStyleLight:
- return kSuffixLegacyLight;
case MapStyleDark:
- return kSuffixLegacyDark;
+ return kSuffixDark;
case MapStyleClear:
- return kSuffixModernClear;
+ return kSuffixClear;
case MapStyleMerged:
return string();
@@ -32,7 +29,7 @@ string GetStyleSuffix(MapStyle mapStyle)
break;
}
LOG(LWARNING, ("Unknown map style", mapStyle));
- return kSuffixModernClear;
+ return kSuffixClear;
}
} // namespace