Newest MSVC needs noexcept on error_category members.
This commit is contained in:
parent
0372cdda34
commit
ea70d7b069
@ -289,6 +289,11 @@
|
||||
# endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
# endif // ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)
|
||||
# endif // defined(__GNUC__)
|
||||
# if defined(ASIO_MSVC)
|
||||
# if (_MSC_VER >= 1900)
|
||||
# define ASIO_ERROR_CATEGORY_NOEXCEPT noexcept(true)
|
||||
# endif // (_MSC_VER >= 1900)
|
||||
# endif // defined(ASIO_MSVC)
|
||||
# if !defined(ASIO_ERROR_CATEGORY_NOEXCEPT)
|
||||
# define ASIO_ERROR_CATEGORY_NOEXCEPT
|
||||
# endif // !defined(ASIO_ERROR_CATEGORY_NOEXCEPT)
|
||||
|
Loading…
Reference in New Issue
Block a user