Skip to content

Commit

Permalink
Ignore 'deprecated' warnings because of [=] capturing 'this'.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Nov 14, 2021
1 parent 13586e1 commit 3440748
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions options_linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ INTERFACE
-Wno-switch
-Wno-missing-field-initializers
-Wno-sign-compare
-Wno-deprecated # implicit capture of 'this' via '[=]' is deprecated in C++20
)

target_compile_definitions(common_options
Expand Down

0 comments on commit 3440748

Please sign in to comment.