diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | include/ingen/ColorContext.hpp | 5 | ||||
-rw-r--r-- | include/ingen/Library.hpp | 4 | ||||
-rw-r--r-- | src/gui/.clang-tidy | 1 | ||||
-rw-r--r-- | src/server/.clang-tidy | 1 |
5 files changed, 8 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy index b0ce1736..241b17ed 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -5,7 +5,6 @@ Checks: > -*-named-parameter, -*-narrowing-conversions, -*-non-private-member-variables-in-classes, - -*-special-member-functions, -*-uppercase-literal-suffix, -abseil-string-find-str-contains, -altera-*, diff --git a/include/ingen/ColorContext.hpp b/include/ingen/ColorContext.hpp index f33b7e2c..251812b8 100644 --- a/include/ingen/ColorContext.hpp +++ b/include/ingen/ColorContext.hpp @@ -31,6 +31,11 @@ public: ColorContext(FILE* stream, Color color); ~ColorContext(); + ColorContext(const ColorContext&) = delete; + ColorContext& operator=(const ColorContext&) = delete; + ColorContext(ColorContext&&) = delete; + ColorContext& operator=(ColorContext&) = delete; + private: FILE* _stream; }; diff --git a/include/ingen/Library.hpp b/include/ingen/Library.hpp index d7d7054a..4cee985f 100644 --- a/include/ingen/Library.hpp +++ b/include/ingen/Library.hpp @@ -29,8 +29,10 @@ public: Library(const FilePath& path); ~Library(); - Library(const Library&) = delete; + Library(const Library&) = delete; Library& operator=(const Library&) = delete; + Library(Library&&) = delete; + Library& operator=(Library&&) = delete; using VoidFuncPtr = void (*)(); diff --git a/src/gui/.clang-tidy b/src/gui/.clang-tidy index 7f978910..91428ef8 100644 --- a/src/gui/.clang-tidy +++ b/src/gui/.clang-tidy @@ -5,7 +5,6 @@ Checks: > -*-named-parameter, -*-narrowing-conversions, -*-non-private-member-variables-in-classes, - -*-special-member-functions, -*-uppercase-literal-suffix, -abseil-string-find-str-contains, -altera-*, diff --git a/src/server/.clang-tidy b/src/server/.clang-tidy index fd06dfb6..8d9d65fa 100644 --- a/src/server/.clang-tidy +++ b/src/server/.clang-tidy @@ -5,7 +5,6 @@ Checks: > -*-named-parameter, -*-narrowing-conversions, -*-non-private-member-variables-in-classes, - -*-special-member-functions, -*-uppercase-literal-suffix, -*-vararg, -abseil-string-find-str-contains, |