From 3900e8ece4e860acc759a965cd55262bf925365f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 21 Mar 2009 20:20:37 +0000 Subject: [PATCH] Disable new addressof code for all Borland versions. Refs #2878. [SVN r51891] --- include/boost/utility/addressof.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/utility/addressof.hpp b/include/boost/utility/addressof.hpp index f0da384..48602be 100644 --- a/include/boost/utility/addressof.hpp +++ b/include/boost/utility/addressof.hpp @@ -47,7 +47,7 @@ template struct addressof_impl template T * addressof( T & v ) { -#if BOOST_WORKAROUND( __BORLANDC__, < 0x560 ) +#if BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x610 ) ) return boost::detail::addressof_impl::f( v, 0 );