Skip to content

Commit

Permalink
Merge pull request #78 from dk949/main
Browse files Browse the repository at this point in the history
Enforce the use of `override`
  • Loading branch information
lefticus authored Mar 18, 2024
2 parents 8882ce9 + 5befd22 commit 759d718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/CompilerWarnings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function(
-Wduplicated-branches # warn if if / else branches have duplicated code
-Wlogical-op # warn about logical operations being used where bitwise were probably wanted
-Wuseless-cast # warn if you perform a cast to the same type
-Wsuggest-override # warn if an overridden member function is not marked 'override' or 'final'
)
endif()

Expand Down

0 comments on commit 759d718

Please sign in to comment.