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:
authorMaxim Pimenov <m@maps.me>2019-02-12 19:13:51 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2019-02-13 14:58:09 +0300
commitb1bec1c75c8f6eaa0b16911833a92b2b9ce82ae3 (patch)
treeb2e09955d50d2e97ffd215e086dd081586735dae /platform
parentb4351494fbcafee4c421692bafc7c5d310bdab3d (diff)
[storage] Removed the T prefix from type aliases and type names.
Diffstat (limited to 'platform')
-rw-r--r--platform/country_defines.hpp6
-rw-r--r--platform/country_file.cpp4
-rw-r--r--platform/country_file.hpp8
3 files changed, 9 insertions, 9 deletions
diff --git a/platform/country_defines.hpp b/platform/country_defines.hpp
index e5b9a08804..1bb4a916e7 100644
--- a/platform/country_defines.hpp
+++ b/platform/country_defines.hpp
@@ -12,9 +12,9 @@ enum class MapOptions : uint8_t
Diff = 0x4
};
-using TMwmCounter = uint32_t;
-using TMwmSize = uint64_t;
-using TLocalAndRemoteSize = pair<TMwmSize, TMwmSize>;
+using MwmCounter = uint32_t;
+using MwmSize = uint64_t;
+using TLocalAndRemoteSize = pair<MwmSize, MwmSize>;
bool HasOptions(MapOptions mask, MapOptions options);
diff --git a/platform/country_file.cpp b/platform/country_file.cpp
index 2910e68d2b..d50e2d0de6 100644
--- a/platform/country_file.cpp
+++ b/platform/country_file.cpp
@@ -37,13 +37,13 @@ CountryFile::CountryFile(string const & name) : m_name(name), m_mapSize(0), m_ro
string const & CountryFile::GetName() const { return m_name; }
-void CountryFile::SetRemoteSizes(TMwmSize mapSize, TMwmSize routingSize)
+void CountryFile::SetRemoteSizes(MwmSize mapSize, MwmSize routingSize)
{
m_mapSize = mapSize;
m_routingSize = routingSize;
}
-TMwmSize CountryFile::GetRemoteSize(MapOptions filesMask) const
+MwmSize CountryFile::GetRemoteSize(MapOptions filesMask) const
{
uint32_t size = 0;
if (HasOptions(filesMask, MapOptions::Map))
diff --git a/platform/country_file.hpp b/platform/country_file.hpp
index 33f756ca2b..9051f341bf 100644
--- a/platform/country_file.hpp
+++ b/platform/country_file.hpp
@@ -20,8 +20,8 @@ public:
string const & GetName() const;
/// \note Remote size is size of mwm in bytes. This mwm contains routing and map sections.
- void SetRemoteSizes(TMwmSize mapSize, TMwmSize routingSize);
- TMwmSize GetRemoteSize(MapOptions file) const;
+ void SetRemoteSizes(MwmSize mapSize, MwmSize routingSize);
+ MwmSize GetRemoteSize(MapOptions file) const;
void SetSha1(string const & base64Sha1) { m_sha1 = base64Sha1; }
string const & GetSha1() const { return m_sha1; }
@@ -35,8 +35,8 @@ private:
/// Base name (without any extensions) of the file. Same as id of country/region.
string m_name;
- TMwmSize m_mapSize = 0;
- TMwmSize m_routingSize = 0;
+ MwmSize m_mapSize = 0;
+ MwmSize m_routingSize = 0;
/// \note SHA1 is encoded to base64.
string m_sha1;
};