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