diff --git a/test/iterator_test.cpp b/test/iterator_test.cpp index 7388cbe..c0e64a3 100644 --- a/test/iterator_test.cpp +++ b/test/iterator_test.cpp @@ -8,9 +8,7 @@ // http://www.boost.org/LICENSE_1_0.txt // -#if defined(__clang__) -# pragma clang diagnostic ignored "-Wdeprecated-declarations" -#endif +#define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING #include #include