Skip to content

Commit

Permalink
Disable -Wdeprecated-copy as well, for Clang 10, 11, 12
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Nov 21, 2023
1 parent 9678dec commit 5d95860
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/speed_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
# if __has_warning( "-Wdeprecated-copy-with-user-provided-copy" )
# pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
# endif
// clang 10..12 emits this instead
# if __has_warning( "-Wdeprecated-copy" )
# pragma clang diagnostic ignored "-Wdeprecated-copy"
# endif
#endif

#include <boost/property_tree/ptree.hpp>
Expand Down

0 comments on commit 5d95860

Please sign in to comment.