wrap pragma for MSVC

This commit is contained in:
Oliver Kowalke
2014-03-03 17:51:45 +01:00
parent 86d114ee99
commit 4d7705aad8
3 changed files with 15 additions and 12 deletions

View File

@@ -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