diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/configuration/configuration.h | 2 | ||||
-rw-r--r-- | lib/configuration/test/main.cpp | 2 | ||||
-rw-r--r-- | lib/pluginloader/test/pluginloader-sigmatch.cpp | 2 | ||||
-rw-r--r-- | lib/session_formats/test/json.cpp | 3 |
4 files changed, 8 insertions, 1 deletions
diff --git a/lib/configuration/configuration.h b/lib/configuration/configuration.h index 09c41a0..cd3c244 100644 --- a/lib/configuration/configuration.h +++ b/lib/configuration/configuration.h @@ -42,7 +42,7 @@ public: return_typestate(unconsumed) Configuration(); return_typestate(unconsumed) Configuration(std::initializer_list<std::pair<std::string, conf_value_t>> l) noexcept; - return_typestate(unconsumed) Configuration(const Configuration &other param_typestate(unconsumed)) = default; + Configuration(const Configuration &) = delete; Configuration &operator=(const Configuration &) = delete; return_typestate(unconsumed) Configuration(Configuration && other param_typestate(unconsumed)) = default; diff --git a/lib/configuration/test/main.cpp b/lib/configuration/test/main.cpp index 21a02cf..fa04f10 100644 --- a/lib/configuration/test/main.cpp +++ b/lib/configuration/test/main.cpp @@ -1,5 +1,7 @@ #define CATCH_CONFIG_RUNNER +// clazy:excludeall=non-pod-global-static + #include "configuration.h" #include <QApplication> #include <catch2/catch.hpp> diff --git a/lib/pluginloader/test/pluginloader-sigmatch.cpp b/lib/pluginloader/test/pluginloader-sigmatch.cpp index 991d9bc..0f4789a 100644 --- a/lib/pluginloader/test/pluginloader-sigmatch.cpp +++ b/lib/pluginloader/test/pluginloader-sigmatch.cpp @@ -1,5 +1,7 @@ #define CATCH_CONFIG_MAIN +// clazy:excludeall=non-pod-global-static + #include "pluginloader.h" #include <catch2/catch.hpp> diff --git a/lib/session_formats/test/json.cpp b/lib/session_formats/test/json.cpp index 4c6b683..e8cccb3 100644 --- a/lib/session_formats/test/json.cpp +++ b/lib/session_formats/test/json.cpp @@ -1,4 +1,7 @@ #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file + +// clazy:excludeall=non-pod-global-static + #include <catch2/catch.hpp> #include <session_json.hpp> |