Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58853 - trunk/boost/bimap/relation/detail
From: matias.capeletto_at_[hidden]
Date: 2010-01-09 15:43:49


Author: matias
Date: 2010-01-09 15:43:48 EST (Sat, 09 Jan 2010)
New Revision: 58853
URL: http://svn.boost.org/trac/boost/changeset/58853

Log:
fix regressions in VC10, ticket #3573
Text files modified:
   trunk/boost/bimap/relation/detail/mutant.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/bimap/relation/detail/mutant.hpp
==============================================================================
--- trunk/boost/bimap/relation/detail/mutant.hpp (original)
+++ trunk/boost/bimap/relation/detail/mutant.hpp 2010-01-09 15:43:48 EST (Sat, 09 Jan 2010)
@@ -56,7 +56,7 @@
     BOOST_MPL_ASSERT((
         ::boost::mpl::contains<BOOST_DEDUCED_TYPENAME Type::mutant_views,View>
     ));
- return *reinterpret_cast< View* >(addressof(m));
+ return *reinterpret_cast< View* >(boost::addressof(m));
 }
 
 template< class View, class Type >
@@ -69,7 +69,7 @@
     BOOST_MPL_ASSERT((
         ::boost::mpl::contains<BOOST_DEDUCED_TYPENAME Type::mutant_views,View>
     ));
- return *reinterpret_cast< const View* >(addressof(m));
+ return *reinterpret_cast< const View* >(boost::addressof(m));
 }
 
 //@}


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