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 "object_borderline.h"
|
||||
#include <utility>
|
||||
#include "special_area_provider.h"
|
||||
|
||||
#include <QtGui/QPolygonF>
|
||||
@@ -125,7 +126,7 @@ Core::FunctionReplyObject ObjectBorderline::updateObject(const Database::AesBord
|
||||
}
|
||||
|
||||
// update all AesBorderlineSegments in database
|
||||
for (const Database::AesBorderlineSegment &segment : qAsConst(tmpDbSegments))
|
||||
for (const Database::AesBorderlineSegment &segment : std::as_const(tmpDbSegments))
|
||||
{
|
||||
if (!m_mainHandler->db()->update(segment))
|
||||
return Core::FunctionReplyObject(m_data.id, tr_lts("dds", "Error updating AesBorderlineSegment-data in database."));
|
||||
|
||||
Reference in new issue
Block a user