diff --git a/coding/coding_tests/file_data_test.cpp b/coding/coding_tests/file_data_test.cpp index 039345cf71..2c9576eb1f 100644 --- a/coding/coding_tests/file_data_test.cpp +++ b/coding/coding_tests/file_data_test.cpp @@ -23,6 +23,7 @@ namespace f.Write(string(size, c).c_str(), size); } +#ifdef OMIM_OS_WINDOWS void CheckFileOK(string const & name) { my::FileData f(name, my::FileData::OP_READ); @@ -34,6 +35,7 @@ namespace f.Read(0, &buffer[0], size); TEST ( equal(name.begin(), name.end(), buffer.begin()), () ); } +#endif } UNIT_TEST(FileData_ApiSmoke) diff --git a/indexer/feature_impl.hpp b/indexer/feature_impl.hpp index c8fe10defa..b6472bce6c 100644 --- a/indexer/feature_impl.hpp +++ b/indexer/feature_impl.hpp @@ -7,8 +7,8 @@ namespace feature { - static int g_arrWorldScales[] = { 3, 5, 7, 9 }; // 9 = scales::GetUpperWorldScale() - static int g_arrCountryScales[] = { 10, 12, 14, 17 }; // 17 = scales::GetUpperScale() + static int const g_arrWorldScales[] = { 3, 5, 7, 9 }; // 9 = scales::GetUpperWorldScale() + static int const g_arrCountryScales[] = { 10, 12, 14, 17 }; // 17 = scales::GetUpperScale() inline string GetTagForIndex(char const * prefix, int ind) { diff --git a/indexer/mwm_version.hpp b/indexer/mwm_version.hpp index 9785bd3a45..d99b11c4b2 100644 --- a/indexer/mwm_version.hpp +++ b/indexer/mwm_version.hpp @@ -8,12 +8,6 @@ class Writer; namespace ver { - class VersionData - { - uint32_t m_mwmVer; - uint32_t m_timeStamp; - }; - void WriteVersion(Writer & w); uint32_t ReadVersion(ModelReaderPtr const & r); }