diff --git a/include/sqlpp11/result_row.h b/include/sqlpp11/result_row.h index 2132390e..60528ed0 100644 --- a/include/sqlpp11/result_row.h +++ b/include/sqlpp11/result_row.h @@ -41,9 +41,9 @@ namespace sqlpp template struct result_field: - public FieldSpec::_name_t::template _member_t, Db, FieldSpec>> + public member_t, Db, FieldSpec>> { - using _field = typename FieldSpec::_name_t::template _member_t, Db, FieldSpec>>; + using _field = member_t, Db, FieldSpec>>; result_field() = default; @@ -66,9 +66,9 @@ namespace sqlpp template struct result_field>>: - public AliasProvider::_name_t::template _member_t, FieldSpecs...>> + public member_t, FieldSpecs...>> { - using _multi_field = typename AliasProvider::_name_t::template _member_t, FieldSpecs...>>; + using _multi_field = member_t, FieldSpecs...>>; result_field() = default; diff --git a/include/sqlpp11/table.h b/include/sqlpp11/table.h index 8a072037..3c370279 100644 --- a/include/sqlpp11/table.h +++ b/include/sqlpp11/table.h @@ -42,7 +42,6 @@ namespace sqlpp template struct table_t: public table_base_t, - //public ColumnSpec::_name_t::template _member_t>... public member_t>... { using _traits = make_traits; diff --git a/include/sqlpp11/table_alias.h b/include/sqlpp11/table_alias.h index 94ea6716..aa95cd83 100644 --- a/include/sqlpp11/table_alias.h +++ b/include/sqlpp11/table_alias.h @@ -36,7 +36,8 @@ namespace sqlpp { template - struct table_alias_t: public ColumnSpec::_name_t::template _member_t>... + struct table_alias_t: + public member_t>... { //FIXME: Need to add join functionality using _traits = make_traits, tag::is_table, tag::is_alias, tag_if::value>>;