diff --git a/scripts/ddl2cpp b/scripts/ddl2cpp index 9fbeabb2..dd09cf86 100755 --- a/scripts/ddl2cpp +++ b/scripts/ddl2cpp @@ -175,7 +175,6 @@ for tableCreation in tableCreations: print(' struct ' + tableClass + ': ' + NAMESPACE + '::table_t<' + tableTemplateParameters + '>', file=header) print(' {', file=header) - print(' using _value_type = ' + NAMESPACE + '::no_value_t;', file=header) print(' struct _name_t', file=header) print(' {', file=header) print(' static constexpr const char* _get_name() { return "' + sqlTableName + '"; }', file=header) diff --git a/tests/Sample.h b/tests/Sample.h index 4ba3774d..5f1bf1de 100644 --- a/tests/Sample.h +++ b/tests/Sample.h @@ -60,7 +60,6 @@ namespace test TabFoo_::Epsilon, TabFoo_::Omega> { - using _value_type = sqlpp::no_value_t; struct _name_t { static constexpr const char* _get_name() { return "tab_foo"; } @@ -143,7 +142,6 @@ namespace test TabBar_::Gamma, TabBar_::Delta> { - using _value_type = sqlpp::no_value_t; struct _name_t { static constexpr const char* _get_name() { return "tab_bar"; }