diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | src/jalv_qt.cpp | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy index 0337127..9405211 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -4,7 +4,6 @@ Checks: > -*-magic-numbers, -*-named-parameter, -*-narrowing-conversions, - -*-special-member-functions, -*-uppercase-literal-suffix, -*-use-auto, -bugprone-branch-clone, diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index 24425d6..b0381e7 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -77,6 +77,12 @@ public: explicit FlowLayout(int margin, int hSpacing, int vSpacing); + FlowLayout(const FlowLayout&) = delete; + FlowLayout& operator=(const FlowLayout&) = delete; + + FlowLayout(FlowLayout&&) = delete; + FlowLayout&& operator=(FlowLayout&&) = delete; + ~FlowLayout() override; void addItem(QLayoutItem* item) override; |