summaryrefslogtreecommitdiff
path: root/boost/proto/detail/as_expr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/proto/detail/as_expr.hpp')
-rw-r--r--boost/proto/detail/as_expr.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/proto/detail/as_expr.hpp b/boost/proto/detail/as_expr.hpp
index 83769f20ba..fb46576b89 100644
--- a/boost/proto/detail/as_expr.hpp
+++ b/boost/proto/detail/as_expr.hpp
@@ -17,6 +17,11 @@
#include <boost/proto/proto_fwd.hpp>
#include <boost/proto/args.hpp>
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+# pragma warning(push)
+# pragma warning(disable : 4714) // function 'xxx' marked as __forceinline not inlined
+#endif
+
namespace boost { namespace proto { namespace detail
{
@@ -175,4 +180,8 @@ namespace boost { namespace proto { namespace detail
}}}
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+# pragma warning(pop)
+#endif
+
#endif