forked from organicmaps/organicmaps
Warning fixes
This commit is contained in:
parent
b3acbebfba
commit
764f238764
3 changed files with 4 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue