From 161c3bf9ee52b6d9ef1ca2529f823c9bb5a6e690 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 23 Oct 2019 17:14:54 +0100 Subject: [PATCH] Replace C++14 feature used in C++11 test * testsuite/20_util/bind/91371.cc: Fix test to compile as C++11. From-SVN: r277339 --- libstdc++-v3/ChangeLog | 2 ++ libstdc++-v3/testsuite/20_util/bind/91371.cc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 277fd01eccf..d5df88b8e43 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2019-10-23 Jonathan Wakely + * testsuite/20_util/bind/91371.cc: Fix test to compile as C++11. + * include/debug/helper_functions.h (__valid_range): Change _GLIBCXX_CONSTEXPR to _GLIBCXX14_CONSTEXPR. diff --git a/libstdc++-v3/testsuite/20_util/bind/91371.cc b/libstdc++-v3/testsuite/20_util/bind/91371.cc index 1c6f55e9ece..ad032ce1663 100644 --- a/libstdc++-v3/testsuite/20_util/bind/91371.cc +++ b/libstdc++-v3/testsuite/20_util/bind/91371.cc @@ -32,6 +32,6 @@ test01() static_assert(std::is_function::value, ""); static_assert(std::is_function::value, ""); - static_assert(std::is_pointer>::value, ""); - static_assert(std::is_pointer>::value, ""); + static_assert(std::is_pointer::type>::value, ""); + static_assert(std::is_pointer::type>::value, ""); } -- 2.30.2