Commit 73632377 authored by Niels's avatar Niels

Merge pull request #131 from dariomt/patch-2

disabled "CopyAssignable" test for MSVC in Debug mode, see #125
parents 57de1d60 04cc7d5a
...@@ -9228,8 +9228,11 @@ TEST_CASE("concepts") ...@@ -9228,8 +9228,11 @@ TEST_CASE("concepts")
SECTION("CopyAssignable") SECTION("CopyAssignable")
{ {
// STL iterators used by json::iterator don't pass this test in Debug mode
#if !defined(_MSC_VER) || (_ITERATOR_DEBUG_LEVEL == 0)
CHECK(std::is_nothrow_copy_assignable<json::iterator>::value); CHECK(std::is_nothrow_copy_assignable<json::iterator>::value);
CHECK(std::is_nothrow_copy_assignable<json::const_iterator>::value); CHECK(std::is_nothrow_copy_assignable<json::const_iterator>::value);
#endif
} }
SECTION("Destructible") SECTION("Destructible")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment