diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-17 08:32:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-17 08:32:59 +0200 |
commit | 1eb99114e1d7741ecdb5a6b2396c9cfd86c5dee4 (patch) | |
tree | 0ebef835dfa649fff5afe1a72b3ac393b88cbde0 /view/driver.cxx | |
parent | dde0bc2f465804a6a6b4eb9770fbd094cdd0fdfa (diff) |
Remove unused local typedefs (GCC 4.8 warning)2.1.0
Diffstat (limited to 'view/driver.cxx')
-rw-r--r-- | view/driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/driver.cxx b/view/driver.cxx index 9f692d1..36274d6 100644 --- a/view/driver.cxx +++ b/view/driver.cxx @@ -217,7 +217,6 @@ main (int argc, char* argv[]) // Calculate min/max employee ages for each employer. // { - typedef odb::query<employer_age> query; typedef odb::result<employer_age> result; transaction t (db->begin ()); @@ -228,6 +227,8 @@ main (int argc, char* argv[]) // // This one restricts the calculation to a specific employer: // + // typedef odb::query<employer_age> query; + // // result r (db->query<employer_age> ( // query::employer::name == "Simple Tech Ltd")); // @@ -326,7 +327,6 @@ main (int argc, char* argv[]) // Show the previous employers using the employee_prev_employer view. // { - typedef odb::query<employee_prev_employer> query; typedef odb::result<employee_prev_employer> result; transaction t (db->begin ()); |