mirror of
https://github.com/boostorg/coroutine.git
synced 2026-02-17 13:42:19 +00:00
wrap pragma for MSVC
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/intrusive_ptr.hpp>
|
||||
|
||||
# if defined(BOOST_MSVC)
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable:4355)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
struct branch;
|
||||
struct leaf;
|
||||
@@ -90,8 +90,8 @@ inline
|
||||
bool operator!=( leaf const& l, leaf const& r)
|
||||
{ return l.value != r.value; }
|
||||
|
||||
# if defined(BOOST_MSVC)
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(pop)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif // TREE_H
|
||||
|
||||
Reference in New Issue
Block a user