From 5af38a078e73eeaea8b888b7aa1caec98153e43f Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 15 Jan 2018 19:59:09 +0000 Subject: [PATCH] Fix constexpr failure on C++11-based buildbots. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@322507 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp b/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp index 595e1bb18..d7427cd03 100644 --- a/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp +++ b/test/std/algorithms/alg.nonmodifying/alg.find.end/find_end_pred.pass.cpp @@ -25,7 +25,7 @@ struct count_equal { static unsigned count; template - 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;} };