0
0
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:
rbock 2019-02-27 13:53:28 +01:00
parent 9367071764
commit d1b8bde8f1
8 changed files with 8 additions and 8 deletions

View File

@ -102,7 +102,7 @@ namespace sqlpp
template <typename Expression> template <typename Expression>
void _add_impl(Expression expression, const std::true_type& /*unused*/) 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> template <typename Expression>

View File

@ -103,7 +103,7 @@ namespace sqlpp
template <typename Expr> template <typename Expr>
void _add_impl(Expr expression, const std::true_type& /*unused*/) 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> template <typename Expr>

View File

@ -100,7 +100,7 @@ namespace sqlpp
template <typename Expression> template <typename Expression>
void _add_impl(Expression expression, const std::true_type& /*unused*/) 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> template <typename Expression>

View File

@ -147,7 +147,7 @@ namespace sqlpp
template <typename NamedExpression> template <typename NamedExpression>
void _add_impl(NamedExpression namedExpression, const std::true_type& /*unused*/) 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> template <typename NamedExpression>

View File

@ -96,7 +96,7 @@ namespace sqlpp
template <typename Flag> template <typename Flag>
void _add_impl(Flag flag, const std::true_type& /*unused*/) 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> template <typename Flag>

View File

@ -100,7 +100,7 @@ namespace sqlpp
template <typename Assignment> template <typename Assignment>
void _add_impl(Assignment assignment, const std::true_type& /*unused*/) 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> template <typename Assignment>

View File

@ -92,7 +92,7 @@ namespace sqlpp
template <typename Table> template <typename Table>
void _add_impl(Table table, const std::true_type& /*unused*/) 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> template <typename Table>

View File

@ -105,7 +105,7 @@ namespace sqlpp
template <typename Expr> template <typename Expr>
void _add_impl(Expr expression, const std::true_type& /*unused*/) 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> template <typename Expr>