From f5440aa76e9fa259d757c7d67a29dfdce3da741e Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Sun, 4 Nov 2018 20:52:20 +1100 Subject: [PATCH] Fix MSVC version number for availability of std::invoke_result. --- asio/include/asio/detail/config.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asio/include/asio/detail/config.hpp b/asio/include/asio/detail/config.hpp index fb951ddfca..8892dce223 100644 --- a/asio/include/asio/detail/config.hpp +++ b/asio/include/asio/detail/config.hpp @@ -856,9 +856,9 @@ #if !defined(ASIO_HAS_STD_INVOKE_RESULT) # if !defined(ASIO_DISABLE_STD_INVOKE_RESULT) # if defined(ASIO_MSVC) -# if (_MSC_VER >= 1910 && _MSVC_LANG >= 201703) +# if (_MSC_VER >= 1911 && _MSVC_LANG >= 201703) # define ASIO_HAS_STD_INVOKE_RESULT 1 -# endif // (_MSC_VER >= 1910 && _MSVC_LANG >= 201703) +# endif // (_MSC_VER >= 1911 && _MSVC_LANG >= 201703) # endif // defined(ASIO_MSVC) # endif // !defined(ASIO_DISABLE_STD_INVOKE_RESULT) #endif // !defined(ASIO_HAS_STD_INVOKE_RESULT)