From b434003b13aa2bc4d1ed3585763183df8a9c4ea6 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 11 Dec 2013 23:28:13 +0200 Subject: [PATCH] Revert incorrect reversion of adf57817ec09cb8edd6032a30da6daec3edbe23f --- include/boost/ref.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/boost/ref.hpp b/include/boost/ref.hpp index 8169149..e31b167 100644 --- a/include/boost/ref.hpp +++ b/include/boost/ref.hpp @@ -34,16 +34,8 @@ template class reference_wrapper public: typedef T type; -#if defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, < 1300 ) - - explicit reference_wrapper(T& t): t_(&t) {} - -#else - BOOST_FORCEINLINE explicit reference_wrapper(T& t): t_(boost::addressof(t)) {} -#endif - BOOST_FORCEINLINE operator T& () const { return *t_; } BOOST_FORCEINLINE T& get() const { return *t_; }