From 5e8f4347fdf3869fb456935e695e14affde68d33 Mon Sep 17 00:00:00 2001 From: Michel Morin Date: Thu, 12 Apr 2012 13:10:47 +0000 Subject: [PATCH] Use a newly added querying macro for BOOST_NO_DECLTYPE_N3276 on clang. [SVN r77934] --- include/boost/config/compiler/clang.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index af3d4cb8..976a92c0 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -43,7 +43,7 @@ # define BOOST_NO_DECLTYPE #endif -#if !__has_feature(__cxx_decltype__) +#if !__has_feature(cxx_decltype_incomplete_return_types) # define BOOST_NO_DECLTYPE_N3276 #endif