fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+2
-1
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "central_aes_data_builder.h"
|
||||
#include <utility>
|
||||
#include "LtsUtils/LtsUtilsCore/qbytearray_byteaccess.h"
|
||||
#include "QLineF"
|
||||
|
||||
@@ -455,7 +456,7 @@ void addSegments(QByteArray &buf, const std::vector<AreaEffectSimulation::MineSe
|
||||
|
||||
AreaEffectSimulation::MineSegment lastSeg;
|
||||
|
||||
for (const AreaEffectSimulation::MineSegment ¤tMineSegment : qAsConst(segments))
|
||||
for (const AreaEffectSimulation::MineSegment ¤tMineSegment : std::as_const(segments))
|
||||
{
|
||||
addPosition2D(buf, currentMineSegment.positionStart);
|
||||
lastSeg = currentMineSegment;
|
||||
|
||||
Reference in new issue
Block a user