Skip to content

Commit 6060849

Browse files
committed
Disable -Wdeprecated-copy-with-user-provided-copy in speed_test.cpp
1 parent 5a36e4c commit 6060849

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/speed_test.cpp

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010

1111
#define _HAS_ITERATOR_DEBUGGING 0
1212

13+
// -Wdeprecated-copy-with-user-provided-copy in boost/format/group.hpp
14+
15+
#if defined(__clang__) && defined(__has_warning)
16+
# if __has_warning( "-Wdeprecated-copy-with-user-provided-copy" )
17+
# pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
18+
# endif
19+
#endif
20+
1321
#include <boost/property_tree/ptree.hpp>
1422
#include <boost/format.hpp>
1523
#include <boost/shared_array.hpp>

0 commit comments

Comments
 (0)