Suppress MSVC dynamic initialisation warning.
This commit is contained in:
parent
efa18153dc
commit
559013298e
@ -126,7 +126,10 @@ private:
|
||||
* See the documentation for asio::use_future_t for a usage example.
|
||||
*/
|
||||
#if defined(ASIO_MSVC)
|
||||
# pragma warning (push)
|
||||
# pragma warning (disable:4592)
|
||||
__declspec(selectany) use_future_t<> use_future;
|
||||
# pragma warning (pop)
|
||||
#elif defined(ASIO_HAS_CONSTEXPR) || defined(GENERATING_DOCUMENTATION)
|
||||
constexpr use_future_t<> use_future;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user