Correct MSC_VER check

This commit is contained in:
Simon Brand
2019-02-19 14:58:36 +00:00
parent d2c6fa68c7
commit 9399c30330

View File

@@ -22,7 +22,7 @@ TEST_CASE("Noexcept", "[noexcept]") {
SECTION("swap") {
//TODO see why this fails
#if !defined(_MSC_VER) || _MSC_VER >= 1900
#if !defined(_MSC_VER) || _MSC_VER > 1900
REQUIRE(noexcept(swap(o1, o2)) == noexcept(o1.swap(o2)));
struct nothrow_swappable {