fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "object_criterium.h"
|
||||
#include <utility>
|
||||
#include "object_evaluation_element.h"
|
||||
|
||||
namespace Evaluations
|
||||
@@ -55,7 +56,7 @@ Core::FunctionReplyObject ObjectCriterium::removeObject()
|
||||
if (!m_db->removeEvlCriterium(m_data.id))
|
||||
return Core::FunctionReplyObject(m_data.id, tr_lts("dds", "EvlCriterium with id %1 can not be removed")).arg(m_data.id);
|
||||
|
||||
for (ObjectEvaluationElement *oee : qAsConst(m_elementsMap))
|
||||
for (ObjectEvaluationElement *oee : std::as_const(m_elementsMap))
|
||||
oee->removeObject();
|
||||
qDeleteAll(m_elementsMap);
|
||||
m_elementsMap.clear();
|
||||
|
||||
Reference in new issue
Block a user