1
0
mirror of https://github.com/nlohmann/json synced 2024-11-10 06:20:06 +00:00

Merge pull request #131 from dariomt/patch-2

disabled "CopyAssignable" test for MSVC in Debug mode, see #125
This commit is contained in:
Niels 2015-10-17 12:41:20 +02:00
commit 73632377bf

View File

@ -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")