From 74356bd43f895b1ca726720dfc097b5d499fb06d Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Tue, 19 Feb 2019 15:00:29 +0000 Subject: [PATCH] Correct MSC_VER check --- tl/expected.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tl/expected.hpp b/tl/expected.hpp index 1d475db..9d8a0ee 100644 --- a/tl/expected.hpp +++ b/tl/expected.hpp @@ -286,7 +286,7 @@ using invoke_result = invoke_result_impl; template using invoke_result_t = typename invoke_result::type; -#if defined(_MSC_VER) && _MSC_VER < 1900 +#if defined(_MSC_VER) && _MSC_VER <= 1900 // TODO make a version which works with MSVC 2015 template struct is_swappable : std::true_type {};