diff --git a/tests/mysql/usage/DateTime.cpp b/tests/mysql/usage/DateTime.cpp index e53da8ca..8ca0402b 100644 --- a/tests/mysql/usage/DateTime.cpp +++ b/tests/mysql/usage/DateTime.cpp @@ -56,7 +56,7 @@ namespace template auto require_close(int line, const L& l, const R& r) -> void { - if (std::chrono::abs(l - r) > std::chrono::seconds{1}) + if (date::abs(l - r) > std::chrono::seconds{1}) { std::cerr << line << ": abs("; serialize(::sqlpp::wrap_operand_t{l}, std::cerr);