From 9393aa7a84305102e50d4a30422b8060e25287f2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Jul 2020 15:45:12 -0400 Subject: [PATCH] CStateMessageModel: Make use of push_back over operator<< --- src/Editor/WorldEditor/CStateMessageModel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Editor/WorldEditor/CStateMessageModel.h b/src/Editor/WorldEditor/CStateMessageModel.h index e96a62ba..0fd767bb 100644 --- a/src/Editor/WorldEditor/CStateMessageModel.h +++ b/src/Editor/WorldEditor/CStateMessageModel.h @@ -72,7 +72,7 @@ public: for (uint32 iState = 0; iState < pGame->NumStates(); iState++) { SState State = pGame->StateByIndex(iState); - mEntries << SEntry(State.ID, TO_QSTRING(State.Name)); + mEntries.push_back(SEntry(State.ID, TO_QSTRING(State.Name))); } } @@ -81,7 +81,7 @@ public: for (uint32 iMsg = 0; iMsg < pGame->NumMessages(); iMsg++) { SMessage Message = pGame->MessageByIndex(iMsg); - mEntries << SEntry(Message.ID, TO_QSTRING(Message.Name)); + mEntries.push_back(SEntry(Message.ID, TO_QSTRING(Message.Name))); } }