aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-09 11:35:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-09 11:35:44 +0200
commitc75b1b0715f1772df6dd3ba08cd9dc90ca919d2e (patch)
tree6b8e9710da5a31a61abe2a6db3f5704c526ac986
parent80298efecae4d4de17c04940431d715e4caab5b9 (diff)
Remove unnecessary local typedef (GCC 4.8 warning)
-rw-r--r--odb/session.txx2
1 files changed, 0 insertions, 2 deletions
diff --git a/odb/session.txx b/odb/session.txx
index cb9de84..bebc8f9 100644
--- a/odb/session.txx
+++ b/odb/session.txx
@@ -10,8 +10,6 @@ namespace odb
const typename object_traits<T>::id_type& id,
const typename object_traits<T>::pointer_type& obj)
{
- typedef odb::object_traits<T> object_traits;
-
type_map& tm (db_map_[&db]);
details::shared_ptr<object_map_base>& pom (tm[&typeid (T)]);