diff options
author | Yuri Gorshenin <y@maps.me> | 2015-07-20 17:12:41 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:56:36 +0300 |
commit | b6a51452a0e270a79dcfe47ba9ca984b886866a6 (patch) | |
tree | d7883118f4a8ccb0af615cfaa215930247b81302 /platform | |
parent | c1eba8ce837e56813bd624285a5f53a88713039d (diff) |
Review fixes.
Diffstat (limited to 'platform')
4 files changed, 8 insertions, 1 deletions
diff --git a/platform/platform_tests/local_country_file_tests.cpp b/platform/platform_tests/local_country_file_tests.cpp index 90a90da3a4..3e847e2fc5 100644 --- a/platform/platform_tests/local_country_file_tests.cpp +++ b/platform/platform_tests/local_country_file_tests.cpp @@ -330,7 +330,7 @@ UNIT_TEST(LocalCountryFile_DoNotDeleteUserFiles) my::LogLevel oldLogLevel = my::g_LogLevel; my::g_LogLevel = LCRITICAL; MY_SCOPE_GUARD(restoreLogLevel, [&oldLogLevel]() - { + { my::g_LogLevel = oldLogLevel; }); diff --git a/platform/platform_tests_support/scoped_dir.cpp b/platform/platform_tests_support/scoped_dir.cpp index 8e5c510193..1f27f44e9d 100644 --- a/platform/platform_tests_support/scoped_dir.cpp +++ b/platform/platform_tests_support/scoped_dir.cpp @@ -1,8 +1,11 @@ #include "platform/platform_tests_support/scoped_dir.hpp" #include "testing/testing.hpp" + #include "coding/file_name_utils.hpp" + #include "base/logging.hpp" + #include "std/sstream.hpp" namespace platform diff --git a/platform/platform_tests_support/scoped_dir.hpp b/platform/platform_tests_support/scoped_dir.hpp index 854d354b6e..8451c0d76a 100644 --- a/platform/platform_tests_support/scoped_dir.hpp +++ b/platform/platform_tests_support/scoped_dir.hpp @@ -1,7 +1,9 @@ #pragma once #include "platform/platform.hpp" + #include "base/macros.hpp" + #include "std/string.hpp" namespace platform diff --git a/platform/platform_tests_support/scoped_file.hpp b/platform/platform_tests_support/scoped_file.hpp index 448614d850..de5bb1d76a 100644 --- a/platform/platform_tests_support/scoped_file.hpp +++ b/platform/platform_tests_support/scoped_file.hpp @@ -2,7 +2,9 @@ #include "platform/country_defines.hpp" #include "platform/platform.hpp" + #include "base/macros.hpp" + #include "std/string.hpp" namespace platform |