diff --git a/include/sqlpp11/basic_expression_operators.h b/include/sqlpp11/basic_expression_operators.h index 8c4ae0dd..4601dff7 100644 --- a/include/sqlpp11/basic_expression_operators.h +++ b/include/sqlpp11/basic_expression_operators.h @@ -211,7 +211,7 @@ namespace sqlpp template typename _new_nary_expression::type in(T... t) const { - check_rhs_in_arguments_t...>::_(); + static_combined_check_t...>::_(); return {*static_cast(this), typename wrap_operand::type{t}...}; } @@ -225,7 +225,7 @@ namespace sqlpp template typename _new_nary_expression::type not_in(T... t) const { - check_rhs_in_arguments_t...>::_(); + static_combined_check_t...>::_(); return {*static_cast(this), typename wrap_operand::type{t}...}; }