forked from OSchip/llvm-project
parent
55697276dc
commit
2fd30b4c87
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue