fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+2
-1
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "handler_explosion_single.h"
|
||||
#include <utility>
|
||||
#include "main_handler.h"
|
||||
#include <AreaEffectSimulation/Utils/polygons.h>
|
||||
|
||||
@@ -30,7 +31,7 @@ bool HandlerExplosionSingle::init()
|
||||
return true;
|
||||
}
|
||||
// create indirect fire single objects
|
||||
for (const Database::AesExplosionSingle &dbData : qAsConst(dataVec))
|
||||
for (const Database::AesExplosionSingle &dbData : std::as_const(dataVec))
|
||||
{
|
||||
ObjectExplosionSingle *ifs(new ObjectExplosionSingle(m_mainHandler, this));
|
||||
connect(ifs, &ObjectExplosionSingle::effectStateChanged, this, &HandlerExplosionSingle::onEffectStateChanged);
|
||||
|
||||
Reference in new issue
Block a user