From 04cc7d5a05204ac3ab92c2f37d896f78a1c18f21 Mon Sep 17 00:00:00 2001 From: dariomt Date: Fri, 16 Oct 2015 16:36:34 +0200 Subject: [PATCH] doh! disable test correctly only for MSVC --- test/unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit.cpp b/test/unit.cpp index d12bc38ed..75753c992 100644 --- a/test/unit.cpp +++ b/test/unit.cpp @@ -9229,7 +9229,7 @@ TEST_CASE("concepts") SECTION("CopyAssignable") { // STL iterators used by json::iterator don't pass this test in Debug mode -#if defined(_MSC_VER) && (_ITERATOR_DEBUG_LEVEL == 0) +#if !defined(_MSC_VER) || (_ITERATOR_DEBUG_LEVEL == 0) CHECK(std::is_nothrow_copy_assignable::value); CHECK(std::is_nothrow_copy_assignable::value); #endif