From 2d76306c2aeb447e29b4cc93ab67ebe35b1d9d72 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Dec 2020 16:49:59 +0100 Subject: Explicitly delete unused special member functions --- src/jalv_qt.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/jalv_qt.cpp') 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; -- cgit v1.2.1