We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 788be20 commit 6297abbCopy full SHA for 6297abb
asio/include/asio/buffer.hpp
@@ -511,12 +511,12 @@ class buffer_debug_check
511
512
~buffer_debug_check()
513
{
514
-#if BOOST_WORKAROUND(ASIO_MSVC, == 1400)
+#if defined(ASIO_MSVC) && (ASIO_MSVC == 1400)
515
// MSVC 8's string iterator checking may crash in a std::string::iterator
516
// object's destructor when the iterator points to an already-destroyed
517
// std::string object, unless the iterator is cleared first.
518
iter_ = Iterator();
519
-#endif // BOOST_WORKAROUND(ASIO_MSVC, == 1400)
+#endif // defined(ASIO_MSVC) && (ASIO_MSVC == 1400)
520
}
521
522
void operator()()
0 commit comments