From 9399c3033046753b804cd56a76a9438646a3f63d Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Tue, 19 Feb 2019 14:58:36 +0000 Subject: [PATCH] Correct MSC_VER check --- tests/noexcept.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/noexcept.cpp b/tests/noexcept.cpp index 967f39e..b12fdea 100644 --- a/tests/noexcept.cpp +++ b/tests/noexcept.cpp @@ -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 {