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>2018-09-14 21:08:09 +0300
committerVlad Mihaylenko <vxmihaylenko@gmail.com>2018-09-18 14:46:56 +0300
commit412387c84eefba2ec4c267ee2748bf78f03ce327 (patch)
tree8d79b6b480fb91a5458a21aec10ac689de54db9f /metrics
parentbef147b46fb8fd5160fc8e3b13f3548906ae5ef7 (diff)
[base] Replaced the namespace my with base.
Diffstat (limited to 'metrics')
-rw-r--r--metrics/eye_serdes.cpp2
-rw-r--r--metrics/eye_storage.cpp2
-rw-r--r--metrics/metrics_tests_support/eye_for_testing.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/metrics/eye_serdes.cpp b/metrics/eye_serdes.cpp
index 2851f13b53..c3a1b2f1e0 100644
--- a/metrics/eye_serdes.cpp
+++ b/metrics/eye_serdes.cpp
@@ -42,7 +42,7 @@ void Serdes::Deserialize(std::vector<int8_t> const & bytes, Info & result)
coding::DeserializerJson des(source);
des(result);
}
- catch (my::Json::Exception & ex)
+ catch (base::Json::Exception & ex)
{
LOG(LERROR, ("Cannot deserialize eye file. Exception:", ex.Msg(), "Version:", version,
"File content:", bytes));
diff --git a/metrics/eye_storage.cpp b/metrics/eye_storage.cpp
index e195fb15a6..b791ba1083 100644
--- a/metrics/eye_storage.cpp
+++ b/metrics/eye_storage.cpp
@@ -22,7 +22,7 @@ std::string Storage::GetEyeFilePath()
// static
bool Storage::Save(std::string const & filePath, std::vector<int8_t> const & src)
{
- return my::WriteToTempAndRenameToFile(filePath, [&src](string const & fileName)
+ return base::WriteToTempAndRenameToFile(filePath, [&src](string const & fileName)
{
try
{
diff --git a/metrics/metrics_tests_support/eye_for_testing.cpp b/metrics/metrics_tests_support/eye_for_testing.cpp
index 97c294ead1..782b15e142 100644
--- a/metrics/metrics_tests_support/eye_for_testing.cpp
+++ b/metrics/metrics_tests_support/eye_for_testing.cpp
@@ -16,8 +16,8 @@ void EyeForTesting::ResetEye()
auto const path = Storage::GetEyeFilePath();
uint64_t unused;
- if (my::GetFileSize(path, unused))
- my::DeleteFileX(path);
+ if (base::GetFileSize(path, unused))
+ base::DeleteFileX(path);
}
// static