mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 01:18:52 +08:00
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
This commit is contained in:
@@ -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;}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user