1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix "reorder" warnings

This commit is contained in:
AlexVinS 2015-02-21 12:38:40 +03:00
parent 9427dacc5d
commit c4cbda88ac
2 changed files with 2 additions and 2 deletions

View File

@ -424,7 +424,7 @@ void CToggleGroup::addToggle(int identifier, CToggleBase* bt)
}
CToggleGroup::CToggleGroup(const CFunctionList<void(int)> &OnChange, bool musicLikeButtons)
: onChange(OnChange), musicLike(musicLikeButtons), selectedID(-1)
: onChange(OnChange), selectedID(-1), musicLike(musicLikeButtons)
{}
void CToggleGroup::setSelected(int id)

View File

@ -120,8 +120,8 @@ CQuestLog::CQuestLog (const std::vector<QuestInfo> & Quests) :
questIndex(0),
currentQuest(nullptr),
componentsBox(nullptr),
quests (Quests),
hideComplete(false),
quests(Quests),
slider(nullptr)
{
OBJ_CONSTRUCTION_CAPTURING_ALL;