From d75862365b09ff1e63f248f22338f0e0a33f1219 Mon Sep 17 00:00:00 2001 From: rbock Date: Wed, 27 Aug 2014 21:32:00 +0200 Subject: [PATCH] Cleanup in generated code --- scripts/ddl2cpp | 1 - tests/Sample.h | 2 -- 2 files changed, 3 deletions(-) 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"; }