fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+2
-1
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "object_presentation.h"
|
||||
#include <utility>
|
||||
#include "initialization.h"
|
||||
#include "dds_handler.h"
|
||||
#include <ngldb/dbtransaction.h>
|
||||
@@ -112,7 +113,7 @@ Core::FunctionReplyObject ObjectPresentation::updateObject(const PresentationMod
|
||||
if (!m_mainHandler->db()->update(dbData))
|
||||
return Core::FunctionReplyObject(m_data.id, tr_lts("dds", "Error updating Presentation-data into database"));
|
||||
|
||||
for (const auto &content : qAsConst(m_content))
|
||||
for (const auto &content : std::as_const(m_content))
|
||||
{
|
||||
if (m_mainHandler->db()->removePrePresentationContent(content.id))
|
||||
DEBUG_LOG(m_logger) << "Removed presentation content id " << content.id;
|
||||
|
||||
Reference in new issue
Block a user