From da3c89dc5b8198f433d07a6519ab01580644a44f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 1 Nov 2021 02:26:06 +0200 Subject: [PATCH] Apply a better fix to iterator_test.cpp --- test/iterator_test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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