aboutsummaryrefslogtreecommitdiff
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
commit0b583b575ec00c544759cbf8d6481d35c34c5f63 (patch)
tree1456b41c5aa1e255e7e2894e7df59009a6bc5b21
parent3c62e12e25bc7c6f67d993c02b67f2800af6b39f (diff)
Remove unused local typedefs (GCC 4.8 warning)2.1.0
-rw-r--r--odb/session.txx2
1 files changed, 0 insertions, 2 deletions
diff --git a/odb/session.txx b/odb/session.txx
index 2a50005..ce13970 100644
--- a/odb/session.txx
+++ b/odb/session.txx
@@ -13,8 +13,6 @@ namespace odb
const typename object_traits<T>::pointer_type& obj)
{
typedef odb::object_traits<T> object_traits;
- typedef typename object_traits::pointer_type pointer_type;
- typedef odb::pointer_traits<pointer_type> pointer_traits;
type_map& tm (db_map_[&db]);
details::shared_ptr<object_map_base>& pom (tm[&typeid (T)]);