summaryrefslogtreecommitdiff
path: root/boost/proto/detail/as_lvalue.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/proto/detail/as_lvalue.hpp')
-rw-r--r--boost/proto/detail/as_lvalue.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/proto/detail/as_lvalue.hpp b/boost/proto/detail/as_lvalue.hpp
index 4ef375c407..8ff9091b28 100644
--- a/boost/proto/detail/as_lvalue.hpp
+++ b/boost/proto/detail/as_lvalue.hpp
@@ -11,6 +11,11 @@
#include <boost/proto/proto_fwd.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
@@ -31,4 +36,8 @@ namespace boost { namespace proto
}
}}
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+# pragma warning(pop)
+#endif
+
#endif