mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
ADL for AlmostEqual* and use math:: instead of base:: (#9634)
* ADL for AlmostEqual* and use math:: instead of base:: Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
82133c5743
commit
30718e106e
@@ -410,7 +410,7 @@ std::string MetadataTagProcessorImpl::ValidateAndFormat_duration(std::string con
|
||||
return {};
|
||||
|
||||
auto const format = [](double hours) -> std::string {
|
||||
if (base::AlmostEqualAbs(hours, 0.0, 1e-5))
|
||||
if (AlmostEqualAbs(hours, 0.0, 1e-5))
|
||||
return {};
|
||||
|
||||
std::stringstream ss;
|
||||
|
||||
Reference in New Issue
Block a user