Commit fb23ac7d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 75abfb1c
......@@ -414,7 +414,7 @@ void IncidenceTreeModel::Private::insertNode(const PreNode::Ptr &prenode, bool s
// Are we a parent?
if (m_waitingForParent.contains(node->uid)) {
Q_ASSERT(m_waitingForParent.count(node->uid) > 0);
QList<Node::Ptr> childs = m_waitingForParent.values(node->uid);
const QList<Node::Ptr> childs = m_waitingForParent.values(node->uid);
m_waitingForParent.remove(node->uid);
Q_ASSERT(!childs.isEmpty());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment