diff --git a/include/sqlpp11/core/clause/select_column_list.h b/include/sqlpp11/core/clause/select_column_list.h index ed61fad8..a504d916 100644 --- a/include/sqlpp11/core/clause/select_column_list.h +++ b/include/sqlpp11/core/clause/select_column_list.h @@ -146,18 +146,8 @@ namespace sqlpp return static_cast(*this); } - template - struct _deferred_field_t - { - using type = make_field_spec_t<_statement_t, Column>; - }; - - template - using _field_t = typename _deferred_field_t::type; - -#warning: This should not require the Db parameter for deferral, see select_as. template - using _result_row_t = result_row_t...>; + using _result_row_t = result_row_t...>; template auto as(const NameTagProvider&) const diff --git a/include/sqlpp11/core/type_traits/aggregates.h b/include/sqlpp11/core/type_traits/aggregates.h index f8238310..fa84a1ce 100644 --- a/include/sqlpp11/core/type_traits/aggregates.h +++ b/include/sqlpp11/core/type_traits/aggregates.h @@ -76,7 +76,7 @@ namespace sqlpp struct is_aggregate_expression : public std::integral_constant::value or - KnownAggregateColumns::template contains()> + KnownAggregateColumns::template contains::value> { };