Skip to content
Snippets Groups Projects
Commit 3fb327c3 authored by Jan Trávníček's avatar Jan Trávníček Committed by Jan Travnicek
Browse files

address clang-tidy warning in alib2gui

parent 9a380daa
No related branches found
No related tags found
1 merge request!87Merge jt
...@@ -106,7 +106,7 @@ void Connection::destroy() { ...@@ -106,7 +106,7 @@ void Connection::destroy() {
ModelBox::disconnect(originModel, targetModel, targetConnectionBox->getSlot()); ModelBox::disconnect(originModel, targetModel, targetConnectionBox->getSlot());
   
auto removed = this->originConnectionBox->connections.erase(this); auto removed = this->originConnectionBox->connections.erase(this);
Q_ASSERT(removed > 0); Q_ASSERT(removed > 0); (void) removed;
   
Q_ASSERT(this->targetConnectionBox->connection == this); Q_ASSERT(this->targetConnectionBox->connection == this);
this->targetConnectionBox->connection = nullptr; this->targetConnectionBox->connection = nullptr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment