Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57393 - trunk/boost/asio
From: hartmut.kaiser_at_[hidden]
Date: 2009-11-04 19:26:15


Author: hkaiser
Date: 2009-11-04 19:26:15 EST (Wed, 04 Nov 2009)
New Revision: 57393
URL: http://svn.boost.org/trac/boost/changeset/57393

Log:
Asio: disabled VC workaround for VC2010 beta2 compiler
Text files modified:
   trunk/boost/asio/buffer.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/asio/buffer.hpp
==============================================================================
--- trunk/boost/asio/buffer.hpp (original)
+++ trunk/boost/asio/buffer.hpp 2009-11-04 19:26:15 EST (Wed, 04 Nov 2009)
@@ -432,12 +432,12 @@
 
   ~buffer_debug_check()
   {
-#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) && BOOST_WORKAROUND(BOOST_MSVC, < 1600)
     // MSVC'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)
+#endif // BOOST_WORKAROUND(BOOST_MSVC, >= 1400) && BOOST_WORKAROUND(BOOST_MSVC, < 1600)
   }
 
   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