|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58740 - trunk/boost/asio
From: chris_at_[hidden]
Date: 2010-01-05 21:38:40
Author: chris_kohlhoff
Date: 2010-01-05 21:38:39 EST (Tue, 05 Jan 2010)
New Revision: 58740
URL: http://svn.boost.org/trac/boost/changeset/58740
Log:
Use buffer debugging workaround with MSVC 8 only.
Text files modified:
trunk/boost/asio/buffer.hpp | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
Modified: trunk/boost/asio/buffer.hpp
==============================================================================
--- trunk/boost/asio/buffer.hpp (original)
+++ trunk/boost/asio/buffer.hpp 2010-01-05 21:38:39 EST (Tue, 05 Jan 2010)
@@ -432,14 +432,12 @@
~buffer_debug_check()
{
-#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) \
- && BOOST_WORKAROUND(BOOST_MSVC, < 1600)
- // MSVC's string iterator checking may crash in a std::string::iterator
+#if BOOST_WORKAROUND(BOOST_MSVC, == 1400)
+ // MSVC 8's string iterator checking may crash in a std::string::iterator
// object's destructor when the iterator points to an already-destroyed
// std::string object, unless the iterator is cleared first.
iter_ = Iterator();
-#endif // BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
- // && BOOST_WORKAROUND(BOOST_MSVC, < 1600)
+#endif // BOOST_WORKAROUND(BOOST_MSVC, == 1400)
}
void operator()()
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk