summaryrefslogtreecommitdiff
path: root/boost/proto/transform/impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/proto/transform/impl.hpp')
-rw-r--r--boost/proto/transform/impl.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/proto/transform/impl.hpp b/boost/proto/transform/impl.hpp
index ecb0cc6c04..80e9a624f0 100644
--- a/boost/proto/transform/impl.hpp
+++ b/boost/proto/transform/impl.hpp
@@ -12,6 +12,11 @@
#include <boost/config.hpp>
#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
{
#ifdef BOOST_NO_RVALUE_REFERENCES
@@ -238,4 +243,8 @@ namespace boost { namespace proto
}} // namespace boost::proto
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+# pragma warning(pop)
+#endif
+
#endif