aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/configuration')
-rw-r--r--lib/configuration/configuration.h2
-rw-r--r--lib/configuration/test/main.cpp2
2 files changed, 3 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>