aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-04-14 16:55:29 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2014-04-22 15:35:04 -0700
commit539bbad457e7161f89fd4db3017b4abf478466f4 (patch)
tree26387055ecb28fac314e94996e60f355a348c48e /gcc-4.9
parent5c179d5d43e6abe6eb5652fc0218a7add0845d0b (diff)
downloadtoolchain_gcc-539bbad457e7161f89fd4db3017b4abf478466f4.tar.gz
toolchain_gcc-539bbad457e7161f89fd4db3017b4abf478466f4.tar.bz2
toolchain_gcc-539bbad457e7161f89fd4db3017b4abf478466f4.zip
[4.9] Patch GCC libstdc++ to work with Clang in C++11
See 0e1e4c378ef579441c3815c6213422f1df530f9b Change-Id: I74314f368c202436ddef80639d7096e943d7fb5d
Diffstat (limited to 'gcc-4.9')
-rw-r--r--gcc-4.9/libstdc++-v3/include/std/type_traits2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/libstdc++-v3/include/std/type_traits b/gcc-4.9/libstdc++-v3/include/std/type_traits
index 4b434a602..0261c7de9 100644
--- a/gcc-4.9/libstdc++-v3/include/std/type_traits
+++ b/gcc-4.9/libstdc++-v3/include/std/type_traits
@@ -1938,7 +1938,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
struct __common_type_impl
: private __do_common_type_impl
{
- typedef decltype(_S_test<_Tp, _Up>(0)) type;
+ typedef typename decay<decltype(_S_test<_Tp, _Up>(0))>::type type;
};
struct __do_member_type_wrapper