Skip to content

Commit 05971c8

Browse files
committed
disabled -Wnrvo Clang warning
1 parent 2d80ffa commit 05971c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
5151
# these are not really fixable
5252
add_compile_options(-Wno-exit-time-destructors -Wno-global-constructors -Wno-weak-vtables)
5353
add_compile_options_safe(-Wno-unsafe-buffer-usage)
54+
add_compile_options_safe(-Wno-nrvo)
5455
# we are not interested in these
5556
add_compile_options(-Wno-multichar -Wno-four-char-constants)
5657
# ignore C++11-specific warning

0 commit comments

Comments
 (0)