Warning fixes

This commit is contained in:
Alex Zolotarev 2011-01-09 03:36:00 +02:00 committed by Alex Zolotarev
parent 3537fdcc91
commit b13f75e996
2 changed files with 4 additions and 4 deletions

View file

@ -206,7 +206,7 @@ namespace
public:
FindOffset(int level, pair<FeatureType, string> const & test)
: m_level(level), m_test(test)
: m_test(test), m_level(level)
{}
void operator() (FeatureType const & f, uint64_t offset)

View file

@ -22,10 +22,10 @@ namespace yg
Skin::Skin(shared_ptr<ResourceManager> const & resourceManager,
Skin::TSkinPages const & pages)
: m_pages(pages),
m_resourceManager(resourceManager),
m_textPagesCount(2),
m_dynamicPagesCount(2),
m_staticPagesCount(pages.size())
m_textPagesCount(2),
m_staticPagesCount(pages.size()),
m_resourceManager(resourceManager)
{
m_startTextPage = m_currentTextPage = m_pages.size();
addDynamicPages(m_textPagesCount);