From b366c3176462d470e445bc8aeb93a13df87e0518 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Jan 2013 12:51:22 +0200 Subject: Cleanup object cache position type --- odb/session.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/session.txx') diff --git a/odb/session.txx b/odb/session.txx index ce13970..42aa965 100644 --- a/odb/session.txx +++ b/odb/session.txx @@ -7,7 +7,7 @@ namespace odb { template - typename session::object_position session:: + typename session::position session:: insert (database_type& db, const typename object_traits::id_type& id, const typename object_traits::pointer_type& obj) @@ -33,7 +33,7 @@ namespace odb if (!r.second) r.first->second = obj; - return object_position (om, r.first); + return position (om, r.first); } template -- cgit v1.1