fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+2
-1
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "PartyHandling/party_handler.h"
|
||||
#include <utility>
|
||||
#include "PartyHandling/party.h"
|
||||
#include <ngldb/db_service_handler.h>
|
||||
#include <ppm_db.h>
|
||||
@@ -63,7 +64,7 @@ bool PartyHandling::PartyHandler::init()
|
||||
return false;
|
||||
}
|
||||
|
||||
for ( Database::PpmParty currentParty : qAsConst(partyVec))
|
||||
for ( Database::PpmParty currentParty : std::as_const(partyVec))
|
||||
{
|
||||
resetAdlerProperties(currentParty.properties, currentParty.id);
|
||||
PartyHandling::Party *newParty = new PartyHandling::Party(currentParty);
|
||||
|
||||
Reference in new issue
Block a user