enabled and fixed remaining `-Wdeprecated-copy-dtor` Clang compiler warnings (#4860)
This commit is contained in:
parent
00fd3d92c6
commit
7ce82e4fcb
|
@ -76,7 +76,6 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
add_compile_options_safe(-Wno-documentation-unknown-command)
|
add_compile_options_safe(-Wno-documentation-unknown-command)
|
||||||
|
|
||||||
# TODO: fix and enable these warnings - or move to suppression list below
|
# 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-inconsistent-missing-destructor-override) # caused by Qt moc code
|
||||||
add_compile_options_safe(-Wno-unused-exception-parameter)
|
add_compile_options_safe(-Wno-unused-exception-parameter)
|
||||||
add_compile_options_safe(-Wno-old-style-cast)
|
add_compile_options_safe(-Wno-old-style-cast)
|
||||||
|
|
|
@ -67,7 +67,6 @@ public:
|
||||||
// cppcheck-suppress naming-varname - TODO: fix this
|
// cppcheck-suppress naming-varname - TODO: fix this
|
||||||
QColor SymbFGColor, QColor SymbBGColor,
|
QColor SymbFGColor, QColor SymbBGColor,
|
||||||
const QFont::Weight& SymbWeight);
|
const QFont::Weight& SymbWeight);
|
||||||
~CodeEditorStyle() {}
|
|
||||||
|
|
||||||
bool operator==(const CodeEditorStyle& rhs) const;
|
bool operator==(const CodeEditorStyle& rhs) const;
|
||||||
bool operator!=(const CodeEditorStyle& rhs) const;
|
bool operator!=(const CodeEditorStyle& rhs) const;
|
||||||
|
|
Loading…
Reference in New Issue