aboutsummaryrefslogtreecommitdiff
path: root/common/polymorphism
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-09-17 08:32:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-09-17 08:32:59 +0200
commita9a31b5ca7deb54388f805c94e585e359162e2e4 (patch)
treebbd5a04bb84c28e99a2f6eef180026ac11576d69 /common/polymorphism
parent118995d34d2c9428654d45b8f7b7823339bda5cc (diff)
Remove unused local typedefs (GCC 4.8 warning)
Diffstat (limited to 'common/polymorphism')
-rw-r--r--common/polymorphism/driver.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/polymorphism/driver.cxx b/common/polymorphism/driver.cxx
index 6093178..1bd8a2f 100644
--- a/common/polymorphism/driver.cxx
+++ b/common/polymorphism/driver.cxx
@@ -333,7 +333,6 @@ main (int argc, char* argv[])
typedef odb::query<base> base_query;
typedef odb::result<base> base_result;
- typedef odb::query<derived> derived_query;
typedef odb::result<derived> derived_result;
transaction t (db->begin ());
@@ -477,7 +476,6 @@ main (int argc, char* argv[])
typedef odb::query<base_view> base_query;
typedef odb::result<base_view> base_result;
- typedef odb::query<derived_view> derived_query;
typedef odb::result<derived_view> derived_result;
transaction t (db->begin ());
@@ -706,10 +704,7 @@ main (int argc, char* argv[])
// Views.
//
{
- typedef odb::query<root_view> root_query;
typedef odb::result<root_view> root_result;
-
- typedef odb::query<base_view> base_query;
typedef odb::result<base_view> base_result;
transaction t (db->begin ());
@@ -953,7 +948,6 @@ main (int argc, char* argv[])
}
{
- typedef odb::query<view2> query;
typedef odb::result<view2> result;
transaction t (db->begin ());