aboutsummaryrefslogtreecommitdiff
path: root/common/view/driver.cxx
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/view/driver.cxx
parent118995d34d2c9428654d45b8f7b7823339bda5cc (diff)
Remove unused local typedefs (GCC 4.8 warning)
Diffstat (limited to 'common/view/driver.cxx')
-rw-r--r--common/view/driver.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/view/driver.cxx b/common/view/driver.cxx
index 76ffa1c..e000e06 100644
--- a/common/view/driver.cxx
+++ b/common/view/driver.cxx
@@ -146,7 +146,6 @@ template <typename V>
void
view6_test (const auto_ptr<database>& db, const odb::query<V>& q)
{
- typedef odb::query<V> query;
typedef odb::result<V> result;
typedef typename result::iterator iterator;
@@ -227,7 +226,6 @@ main (int argc, char* argv[])
// view1
//
{
- typedef odb::query<view1> query;
typedef odb::result<view1> result;
{
@@ -263,7 +261,6 @@ main (int argc, char* argv[])
// view1a
//
{
- typedef odb::query<view1a> query;
typedef odb::result<view1a> result;
{
@@ -315,7 +312,6 @@ main (int argc, char* argv[])
// view1c
//
{
- typedef odb::query<view1c> query;
typedef odb::result<view1c> result;
{
@@ -344,7 +340,6 @@ main (int argc, char* argv[])
// view1d
//
{
- typedef odb::query<view1d> query;
typedef odb::result<view1d> result;
{
@@ -373,7 +368,6 @@ main (int argc, char* argv[])
// view3
//
{
- typedef odb::query<view3> query;
typedef odb::result<const view3> result; // Test const result.
{
@@ -511,7 +505,6 @@ main (int argc, char* argv[])
// view8
//
{
- typedef odb::query<view8> query;
typedef odb::result<view8> result;
{
@@ -591,7 +584,6 @@ main (int argc, char* argv[])
// view11
//
{
- typedef odb::query<view11> query;
typedef odb::result<view11> result;
{