aboutsummaryrefslogtreecommitdiff
path: root/common/session/custom/session.txx
diff options
context:
space:
mode:
Diffstat (limited to 'common/session/custom/session.txx')
-rw-r--r--common/session/custom/session.txx2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/session/custom/session.txx b/common/session/custom/session.txx
index 803a27b..2fdd20e 100644
--- a/common/session/custom/session.txx
+++ b/common/session/custom/session.txx
@@ -10,8 +10,6 @@ _cache_insert (odb::database&,
const typename odb::object_traits<T>::id_type& id,
const typename odb::object_traits<T>::pointer_type& obj)
{
- typedef odb::object_traits<T> object_traits;
-
if (current == 0)
return cache_position<T> (); // No session, return empty position.