Ver Fonte

Fix "reorder" warnings

AlexVinS há 10 anos atrás
pai
commit
c4cbda88ac
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      client/widgets/Buttons.cpp
  2. 1 1
      client/windows/CQuestLog.cpp

+ 1 - 1
client/widgets/Buttons.cpp

@@ -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)

+ 1 - 1
client/windows/CQuestLog.cpp

@@ -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;