mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
Fix warning for greater_equal
operator.
This commit is contained in:
parent
50aa733fec
commit
7b755b68ad
@ -171,7 +171,7 @@ namespace sqlpp
|
|||||||
auto operator>=(T t) const -> _new_binary_expression_t<greater_equal_t, T>
|
auto operator>=(T t) const -> _new_binary_expression_t<greater_equal_t, T>
|
||||||
{
|
{
|
||||||
using rhs = wrap_operand_t<T>;
|
using rhs = wrap_operand_t<T>;
|
||||||
check_comparison_t<Expr, rhs>{};
|
check_comparison_t<Expr, rhs>::verify();
|
||||||
|
|
||||||
return {*static_cast<const Expr*>(this), rhs{t}};
|
return {*static_cast<const Expr*>(this), rhs{t}};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user