Skip to content

Commit f39ebbe

Browse files
committed
remove for operator(): friendlier for older compilers
1 parent 574402e commit f39ebbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/numerics/c.math/cmath.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ void test_fmin()
11181118

11191119
struct TestHypot3 {
11201120
template <class Real>
1121-
static void operator()() {
1121+
void operator()() const {
11221122
const auto check = [](Real elem, Real abs_tol) {
11231123
assert(std::isfinite(std::hypot(elem, Real(0), Real(0))));
11241124
assert(fptest_close(std::hypot(elem, Real(0), Real(0)), elem, abs_tol));

0 commit comments

Comments
 (0)