summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy1
-rw-r--r--src/gui/NodeModule.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy
index a1c6af8c..78eebb55 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -63,7 +63,6 @@ Checks: >
-modernize-use-trailing-return-type,
-performance-unnecessary-value-param,
-portability-simd-intrinsics,
- -readability-container-size-empty,
-readability-convert-member-functions-to-static,
-readability-delete-null-pointer,
-readability-implicit-bool-conversion,
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
}