Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+2
-1
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "object_gas_pipe.h"
|
||||
#include <utility>
|
||||
#include "special_area_provider.h"
|
||||
|
||||
#include <QPolygonF>
|
||||
@@ -133,7 +134,7 @@ Core::FunctionReplyObject ObjectGasPipe::updateObject(const Database::AesGasPipe
|
||||
}
|
||||
|
||||
// update all AesGasPipeSegments in database
|
||||
for (const Database::AesGasPipeSegment &segment : qAsConst(tmpDbSegments))
|
||||
for (const Database::AesGasPipeSegment &segment : std::as_const(tmpDbSegments))
|
||||
{
|
||||
if (!m_mainHandler->db()->update(segment))
|
||||
return Core::FunctionReplyObject(m_data.id, tr_lts("dds", "Error updating AesGasPipeSegment-data in database."));
|
||||
|
||||
Reference in new issue
Block a user