mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Cleanup bogus return statements
This commit is contained in:
parent
9367071764
commit
d1b8bde8f1
@ -102,7 +102,7 @@ namespace sqlpp
|
||||
template <typename Expression>
|
||||
void _add_impl(Expression expression, const std::true_type& /*unused*/)
|
||||
{
|
||||
return _data._dynamic_expressions.emplace_back(expression);
|
||||
_data._dynamic_expressions.emplace_back(expression);
|
||||
}
|
||||
|
||||
template <typename Expression>
|
||||
|
@ -103,7 +103,7 @@ namespace sqlpp
|
||||
template <typename Expr>
|
||||
void _add_impl(Expr expression, const std::true_type& /*unused*/)
|
||||
{
|
||||
return _data._dynamic_expressions.emplace_back(expression);
|
||||
_data._dynamic_expressions.emplace_back(expression);
|
||||
}
|
||||
|
||||
template <typename Expr>
|
||||
|
@ -100,7 +100,7 @@ namespace sqlpp
|
||||
template <typename Expression>
|
||||
void _add_impl(Expression expression, const std::true_type& /*unused*/)
|
||||
{
|
||||
return _data._dynamic_expressions.emplace_back(expression);
|
||||
_data._dynamic_expressions.emplace_back(expression);
|
||||
}
|
||||
|
||||
template <typename Expression>
|
||||
|
@ -147,7 +147,7 @@ namespace sqlpp
|
||||
template <typename NamedExpression>
|
||||
void _add_impl(NamedExpression namedExpression, const std::true_type& /*unused*/)
|
||||
{
|
||||
return _data._dynamic_columns.emplace_back(auto_alias_t<NamedExpression>{namedExpression});
|
||||
_data._dynamic_columns.emplace_back(auto_alias_t<NamedExpression>{namedExpression});
|
||||
}
|
||||
|
||||
template <typename NamedExpression>
|
||||
|
@ -96,7 +96,7 @@ namespace sqlpp
|
||||
template <typename Flag>
|
||||
void _add_impl(Flag flag, const std::true_type& /*unused*/)
|
||||
{
|
||||
return _data._dynamic_flags.emplace_back(flag);
|
||||
_data._dynamic_flags.emplace_back(flag);
|
||||
}
|
||||
|
||||
template <typename Flag>
|
||||
|
@ -100,7 +100,7 @@ namespace sqlpp
|
||||
template <typename Assignment>
|
||||
void _add_impl(Assignment assignment, const std::true_type& /*unused*/)
|
||||
{
|
||||
return _data._dynamic_assignments.emplace_back(assignment);
|
||||
_data._dynamic_assignments.emplace_back(assignment);
|
||||
}
|
||||
|
||||
template <typename Assignment>
|
||||
|
@ -92,7 +92,7 @@ namespace sqlpp
|
||||
template <typename Table>
|
||||
void _add_impl(Table table, const std::true_type& /*unused*/)
|
||||
{
|
||||
return _data._dynamic_tables.emplace_back(table);
|
||||
_data._dynamic_tables.emplace_back(table);
|
||||
}
|
||||
|
||||
template <typename Table>
|
||||
|
@ -105,7 +105,7 @@ namespace sqlpp
|
||||
template <typename Expr>
|
||||
void _add_impl(Expr expression, const std::true_type& /*unused*/)
|
||||
{
|
||||
return _data._dynamic_expressions.emplace_back(expression);
|
||||
_data._dynamic_expressions.emplace_back(expression);
|
||||
}
|
||||
|
||||
template <typename Expr>
|
||||
|
Loading…
Reference in New Issue
Block a user