aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)]);