diff --git a/src/Magnum/Math/Algorithms/Test/KahanSumTest.cpp b/src/Magnum/Math/Algorithms/Test/KahanSumTest.cpp index 98d7df01d..616acb362 100644 --- a/src/Magnum/Math/Algorithms/Test/KahanSumTest.cpp +++ b/src/Magnum/Math/Algorithms/Test/KahanSumTest.cpp @@ -68,6 +68,8 @@ template struct Iterator { explicit Iterator(T value, std::size_t i = 0): _value{value}, _i{i} {} + /* MSVC 2017 needs operator==() as well */ + bool operator==(const Iterator& other) const { return _i == other._i; } bool operator!=(const Iterator& other) const { return _i != other._i; } Iterator& operator++() {