0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Fixed bug in select_columns

This commit is contained in:
rbock 2014-11-29 09:45:40 +01:00
parent 7f97f2bbe7
commit 375c277402

View File

@ -418,7 +418,7 @@ namespace sqlpp
static_assert(sizeof...(Args), "at least one selectable expression (e.g. a column) required in columns()");
static_assert(decltype(_check_args(args...))::value, "at least one argument is not a selectable expression in columns()");
return _columns_impl<_database_t>(_check_args(args...), detail::tuple_merge(args...));
return _columns_impl<void>(_check_args(args...), detail::tuple_merge(args...));
}
template<typename... Args>