diff --git a/test/mem_fn_eq_test.cpp b/test/mem_fn_eq_test.cpp index 53974bba..eb42ea93 100644 --- a/test/mem_fn_eq_test.cpp +++ b/test/mem_fn_eq_test.cpp @@ -20,7 +20,7 @@ #include #include -#if defined(__clang__) +#if defined(BOOST_CLANG_VERSION) && BOOST_CLANG_VERSION >= 130000 # pragma clang diagnostic ignored "-Wunused-but-set-variable" #endif