summaryrefslogtreecommitdiff
path: root/boost/scope_exit.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/scope_exit.hpp')
-rw-r--r--boost/scope_exit.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/scope_exit.hpp b/boost/scope_exit.hpp
index b834e55a42..11340dd7a5 100644
--- a/boost/scope_exit.hpp
+++ b/boost/scope_exit.hpp
@@ -61,7 +61,7 @@
# define BOOST_SCOPE_EXIT_AUX_TPL_GCC_WORKAROUND_01 0
#endif
-#if BOOST_MSVC
+#if BOOST_MSVC && (BOOST_MSVC <= 1900)
# define BOOST_SCOPE_EXIT_AUX_TYPEOF_THIS_MSVC_WORKAROUND_01 1
#else
# define BOOST_SCOPE_EXIT_AUX_TYPEOF_THIS_MSVC_WORKAROUND_01 0