Skip to content

Commit 759d718

Browse files
authored
Merge pull request #78 from dk949/main
Enforce the use of `override`
2 parents 8882ce9 + 5befd22 commit 759d718

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/CompilerWarnings.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ function(
6767
-Wduplicated-branches # warn if if / else branches have duplicated code
6868
-Wlogical-op # warn about logical operations being used where bitwise were probably wanted
6969
-Wuseless-cast # warn if you perform a cast to the same type
70+
-Wsuggest-override # warn if an overridden member function is not marked 'override' or 'final'
7071
)
7172
endif()
7273

0 commit comments

Comments
 (0)