doh! disable test correctly only for MSVC
This commit is contained in:
parent
9d45aafc2c
commit
04cc7d5a05
1 changed files with 1 additions and 1 deletions
|
@ -9229,7 +9229,7 @@ TEST_CASE("concepts")
|
||||||
SECTION("CopyAssignable")
|
SECTION("CopyAssignable")
|
||||||
{
|
{
|
||||||
// STL iterators used by json::iterator don't pass this test in Debug mode
|
// 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<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
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue