diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/NodeModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 902df4ec..b90a7056 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -108,7 +108,7 @@ NodeModule::~NodeModule() bool NodeModule::idle_init() { - if (_block->ports().size() == 0) { + if (_block->ports().empty()) { return true; // Need to embed GUI, but ports haven't shown up yet } |