Skip to content

Commit

Permalink
Merge pull request #131 from dariomt/patch-2
Browse files Browse the repository at this point in the history
disabled "CopyAssignable" test for MSVC in Debug mode, see #125
  • Loading branch information
nlohmann committed Oct 17, 2015
2 parents 57de1d6 + 04cc7d5 commit 7363237
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9228,8 +9228,11 @@ 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)
CHECK(std::is_nothrow_copy_assignable<json::iterator>::value);
CHECK(std::is_nothrow_copy_assignable<json::const_iterator>::value);
#endif
}

SECTION("Destructible")
Expand Down

0 comments on commit 7363237

Please sign in to comment.