summaryrefslogtreecommitdiff
path: root/boost/thread/executors/serial_executor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/thread/executors/serial_executor.hpp')
-rw-r--r--boost/thread/executors/serial_executor.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/thread/executors/serial_executor.hpp b/boost/thread/executors/serial_executor.hpp
index 6d7ed9be97..7973c5d928 100644
--- a/boost/thread/executors/serial_executor.hpp
+++ b/boost/thread/executors/serial_executor.hpp
@@ -20,6 +20,11 @@
#include <boost/config/abi_prefix.hpp>
+#if defined(BOOST_MSVC)
+# pragma warning(push)
+# pragma warning(disable: 4355) // 'this' : used in base member initializer list
+#endif
+
namespace boost
{
namespace executors
@@ -211,6 +216,10 @@ namespace executors
using executors::serial_executor;
}
+#if defined(BOOST_MSVC)
+# pragma warning(pop)
+#endif
+
#include <boost/config/abi_suffix.hpp>
#endif