mirror of
https://github.com/boostorg/coroutine.git
synced 2026-02-13 12:22:33 +00:00
wrap pragma for MSVC
This commit is contained in:
@@ -15,10 +15,10 @@
|
||||
#include <boost/coroutine/all.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;
|
||||
@@ -117,9 +117,8 @@ void enumerate_leafs( boost::coroutines::asymmetric_coroutine< leaf & >::push_ty
|
||||
root->accept( v);
|
||||
}
|
||||
|
||||
# if defined(BOOST_MSVC)
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(pop)
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif // TREE_H
|
||||
|
||||
Reference in New Issue
Block a user