Skip to content

Commit

Permalink
Fix MSVC version number for availability of std::invoke_result.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed Nov 5, 2018
1 parent b397659 commit f5440aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asio/include/asio/detail/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f5440aa

Please sign in to comment.