summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms/alg.nonmodifying
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2018-01-15 19:59:09 +0000
committerMarshall Clow <mclow.lists@gmail.com>2018-01-15 19:59:09 +0000
commitda97ec6c10736f14227a7ea5cdb9fab0aee841b1 (patch)
treea0391522051daaf02f1b00be9d347904abacb4a8 /libcxx/test/std/algorithms/alg.nonmodifying
parent056f15e3c58c1dc471a95b4ec714cc7cd81cbeb0 (diff)
downloadbcm5719-llvm-da97ec6c10736f14227a7ea5cdb9fab0aee841b1.tar.gz
bcm5719-llvm-da97ec6c10736f14227a7ea5cdb9fab0aee841b1.zip
Fix constexpr failure on C++11-based buildbots.
llvm-svn: 322507
Diffstat (limited to 'libcxx/test/std/algorithms/alg.nonmodifying')
-rw-r--r--libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp
index 595e1bb1885..d7427cd03de 100644
--- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp
@@ -25,7 +25,7 @@ struct count_equal
{
static unsigned count;
template <class T>
- TEST_CONSTEXPR bool operator()(const T& x, const T& y)
+ TEST_CONSTEXPR_CXX14 bool operator()(const T& x, const T& y)
{++count; return x == y;}
};
OpenPOWER on IntegriCloud