From 56e34dbf5e678dce498e531c4c97da93040f4d60 Mon Sep 17 00:00:00 2001 From: rbock Date: Wed, 18 Jun 2014 18:20:59 +0200 Subject: [PATCH] Shortened template for pseudo_column --- include/sqlpp11/select_pseudo_table.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/sqlpp11/select_pseudo_table.h b/include/sqlpp11/select_pseudo_table.h index 3378035a..7530df7f 100644 --- a/include/sqlpp11/select_pseudo_table.h +++ b/include/sqlpp11/select_pseudo_table.h @@ -32,14 +32,14 @@ namespace sqlpp { // provide type information for sub-selects that are used as named expressions or tables - template + template struct select_column_spec_t { - using _traits = make_traits>; + using _traits = make_traits; using _recursive_traits = make_recursive_traits<>; - using _value_type = value_type_of; // FIXME: column specs probably should use _traits, too + using _value_type = ValueType; // FIXME: column specs probably should use _traits, too - using _name_t = typename Expr::_name_t; + using _name_t = NameType; struct _column_type { using _must_not_insert = std::true_type; @@ -53,7 +53,7 @@ namespace sqlpp > struct select_pseudo_table_t: public sqlpp::table_t, select_column_spec_t...> + NamedExpr...>, select_column_spec_t, typename NamedExpr::_name_t>...> { using _traits = make_traits; using _recursive_traits = make_recursive_traits<>;