From c6d77161a4be77fce0154260dca8ad5f74e296a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 14 Jun 2017 12:57:44 +0200 Subject: [PATCH] Math/Algorithms: deprecated std::iterator still needed in MSVC 2017. --- src/Magnum/Math/Algorithms/Test/KahanSumTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Math/Algorithms/Test/KahanSumTest.cpp b/src/Magnum/Math/Algorithms/Test/KahanSumTest.cpp index d2126037f..98d7df01d 100644 --- a/src/Magnum/Math/Algorithms/Test/KahanSumTest.cpp +++ b/src/Magnum/Math/Algorithms/Test/KahanSumTest.cpp @@ -57,7 +57,7 @@ namespace { /* Custom iterator class to avoid allocating half a gigabyte for hundred million values */ template struct Iterator - #ifdef CORRADE_MSVC2015_COMPATIBILITY + #ifdef CORRADE_MSVC2017_COMPATIBILITY /* This is needed on MSVC in order to have std::accumulate() eat these iterators properly. However, std::iterator is being deprecated in C++17 and the go-to way of typedef'ing all the things doesn't work (the