diff options
author | Yuri Gorshenin <y@maps.me> | 2015-06-01 12:12:37 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:49:24 +0300 |
commit | 18911822d5012d7bc96d99ed70ad2ff17dc5d76f (patch) | |
tree | 746ad0855fef51f065bed6290fd594a6a0ca7560 /storage/country.cpp | |
parent | d7af8a57e7f40fcce353f5e4d9eb2dd6e6ef6949 (diff) |
[storage] s/EMapOnly/EMap/g
Diffstat (limited to 'storage/country.cpp')
-rw-r--r-- | storage/country.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/country.cpp b/storage/country.cpp index 822756df06..022a4f06fc 100644 --- a/storage/country.cpp +++ b/storage/country.cpp @@ -14,7 +14,7 @@ string CountryFile::GetFileWithExt(TMapOptions opt) const { switch (opt) { - case TMapOptions::EMapOnly: return m_fileName + DATA_FILE_EXTENSION; + case TMapOptions::EMap: return m_fileName + DATA_FILE_EXTENSION; case TMapOptions::ECarRouting: return m_fileName + DATA_FILE_EXTENSION + ROUTING_FILE_EXTENSION; case TMapOptions::EMapWithCarRouting: @@ -41,7 +41,7 @@ uint32_t CountryFile::GetRemoteSize(TMapOptions opt) const { switch (opt) { - case TMapOptions::EMapOnly: return m_mapSize; + case TMapOptions::EMap: return m_mapSize; case TMapOptions::ECarRouting: return m_routingSize; case TMapOptions::EMapWithCarRouting : return m_mapSize + m_routingSize; } @@ -274,7 +274,7 @@ void SaveImpl(T const & v, json_t * jParent) string const & strFile = file.GetFileWithoutExt(); if (strFile != strName) json_object_set_new(jCountry.get(), "f", json_string(strFile.c_str())); - json_object_set_new(jCountry.get(), "s", json_integer(file.GetRemoteSize(TMapOptions::EMapOnly))); + json_object_set_new(jCountry.get(), "s", json_integer(file.GetRemoteSize(TMapOptions::EMap))); json_object_set_new(jCountry.get(), "rs", json_integer(file.GetRemoteSize(TMapOptions::ECarRouting))); } |