aboutsummaryrefslogtreecommitdiff
path: root/common/inheritance
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/inheritance
parent118995d34d2c9428654d45b8f7b7823339bda5cc (diff)
Remove unused local typedefs (GCC 4.8 warning)
Diffstat (limited to 'common/inheritance')
-rw-r--r--common/inheritance/driver.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/common/inheritance/driver.cxx b/common/inheritance/driver.cxx
index 466ed33..ba907ce 100644
--- a/common/inheritance/driver.cxx
+++ b/common/inheritance/driver.cxx
@@ -129,15 +129,10 @@ main (int argc, char* argv[])
//
{
typedef odb::query<base> b_query;
- typedef odb::result<base> b_result;
-
typedef odb::query<object1> o1_query;
- typedef odb::result<object1> o1_result;
-
typedef odb::query<object2> o2_query;
- typedef odb::result<object2> o2_result;
-
typedef odb::query<reference> r_query;
+
typedef odb::result<reference> r_result;
transaction t (db->begin ());