mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Fix compile error for c++11
This commit is contained in:
parent
554c31dc23
commit
13698d07c9
@ -56,7 +56,7 @@ namespace
|
||||
template <typename L, typename R>
|
||||
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>{l}, std::cerr);
|
||||
|
Loading…
Reference in New Issue
Block a user