Skip to content

Commit

Permalink
-Wunused-but-set-variable is only in Clang 13 and higher
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Jan 7, 2024
1 parent 9d6b7fb commit e066884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mem_fn_eq_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e066884

Please sign in to comment.