Add override keyword to functions

This commit is contained in:
Chocobo1 2019-07-18 15:10:14 +08:00
parent 45eba9ec31
commit 4a90716843
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
10 changed files with 16 additions and 16 deletions

View file

@ -61,7 +61,7 @@ macro(qbt_set_compiler_options)
endif (_STRICT_NULL_SENTINEL_IS_SUPPORTED)
# Code should be improved to render this not needed
list(APPEND _GCC_COMMON_CXX_FLAGS "-Wno-error=unused-function -Wno-error=inconsistent-missing-override")
list(APPEND _GCC_COMMON_CXX_FLAGS "-Wno-error=unused-function")
else ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# GCC supports it
list(APPEND _GCC_COMMON_CXX_FLAGS "-Wstrict-null-sentinel")