Make my new test harness work w/c++03

llvm-svn: 338803
This commit is contained in:
Marshall Clow 2018-08-03 02:58:16 +00:00
parent 55697276dc
commit 2fd30b4c87
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ TEST_CONSTEXPR_CXX14 bool testComparisons6Values(Param val1, Param val2)
const bool isEqual = val1 == val2;
const bool isLess = val1 < val2;
return testComparisons6(T{val1}, T{val2}, isEqual, isLess);
return testComparisons6(T(val1), T(val2), isEqual, isLess);
}
template <class T>
@ -147,7 +147,7 @@ TEST_CONSTEXPR_CXX14 bool testComparisons2Values(Param val1, Param val2)
{
const bool isEqual = val1 == val2;
return testComparisons2(T{val1}, T{val2}, isEqual);
return testComparisons2(T(val1), T(val2), isEqual);
}
template <class T>