From 7ce82e4fcb808b48751671cafaee5a5dacce4d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Tue, 7 Mar 2023 12:28:00 +0100 Subject: [PATCH] enabled and fixed remaining `-Wdeprecated-copy-dtor` Clang compiler warnings (#4860) --- cmake/compileroptions.cmake | 1 - gui/codeeditorstyle.h | 1 - 2 files changed, 2 deletions(-) diff --git a/cmake/compileroptions.cmake b/cmake/compileroptions.cmake index e439b8c9a..fe3cb8fda 100644 --- a/cmake/compileroptions.cmake +++ b/cmake/compileroptions.cmake @@ -76,7 +76,6 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options_safe(-Wno-documentation-unknown-command) # TODO: fix and enable these warnings - or move to suppression list below - add_compile_options_safe(-Wno-deprecated-copy-dtor) add_compile_options_safe(-Wno-inconsistent-missing-destructor-override) # caused by Qt moc code add_compile_options_safe(-Wno-unused-exception-parameter) add_compile_options_safe(-Wno-old-style-cast) diff --git a/gui/codeeditorstyle.h b/gui/codeeditorstyle.h index c0f222fbc..3c5974ee4 100644 --- a/gui/codeeditorstyle.h +++ b/gui/codeeditorstyle.h @@ -67,7 +67,6 @@ public: // cppcheck-suppress naming-varname - TODO: fix this QColor SymbFGColor, QColor SymbBGColor, const QFont::Weight& SymbWeight); - ~CodeEditorStyle() {} bool operator==(const CodeEditorStyle& rhs) const; bool operator!=(const CodeEditorStyle& rhs) const;