enabled and fixed remaining `-Wdeprecated-copy-dtor` Clang compiler warnings (#4860)

This commit is contained in:
Oliver Stöneberg 2023-03-07 12:28:00 +01:00 committed by GitHub
parent 00fd3d92c6
commit 7ce82e4fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -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)

View File

@ -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;