forked from boostorg/bind
-Wunused-but-set-variable is only in Clang 13 and higher
This commit is contained in:
1 parent
9d6b7fb86e
commit
e066884190
1 file changed
+1
-1
@@ -20,7 +20,7 @@
|
||||
#include <boost/mem_fn.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
|
||||
#if defined(__clang__)
|
||||
#if defined(BOOST_CLANG_VERSION) && BOOST_CLANG_VERSION >= 130000
|
||||
# pragma clang diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user