Fix clang tidy error

This commit is contained in:
Raúl Marín 2022-05-13 20:31:45 +02:00 committed by GitHub
parent a2870ef65e
commit 23dfe4941b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,7 +186,7 @@ namespace
if (d != 0.0 && !std::isnormal(d))
throw Exception(
ErrorCodes::CANNOT_PARSE_NUMBER, "A setting's value in seconds must be a normal floating point number or zero. Got {}", d);
return static_cast<Poco::Timespan::TimeDiff>(d *= 1000000);
return static_cast<Poco::Timespan::TimeDiff>(d * 1000000);
}
}