0
0
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:
Stanislav Korolev 2023-10-12 17:27:00 +03:00 committed by Roland Bock
parent 50aa733fec
commit 7b755b68ad

View File

@ -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}};
} }