mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-04-24 21:28:18 -05:00
Specific comparison operators
In case we want to turn operator== into a free function, this will prevent premature instantiation of wrap_operand
This commit is contained in:
@@ -61,7 +61,7 @@ namespace sqlpp
|
||||
|
||||
bool _is_trivial() const
|
||||
{
|
||||
return _t == _value_t{};
|
||||
return std::chrono::operator==(_t, _value_t{});
|
||||
}
|
||||
|
||||
_value_t _t;
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace sqlpp
|
||||
|
||||
bool _is_trivial() const
|
||||
{
|
||||
return _t == _value_t{};
|
||||
return std::chrono::operator==(_t, _value_t{});
|
||||
}
|
||||
|
||||
_value_t _t;
|
||||
|
||||
Reference in New Issue
Block a user