diff options
Diffstat (limited to 'odb/simple-object-result.txx')
-rw-r--r-- | odb/simple-object-result.txx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/simple-object-result.txx b/odb/simple-object-result.txx index f14caac..1a6332c 100644 --- a/odb/simple-object-result.txx +++ b/odb/simple-object-result.txx @@ -30,7 +30,7 @@ namespace odb object_type& obj (pointer_traits::get_ref (p)); current (p); load (obj, false); - object_traits::pointer_cache_traits::initialize (ig.position ()); + object_traits::pointer_cache_traits::load (ig.position ()); ig.release (); } } @@ -53,7 +53,7 @@ namespace odb res_->db_, res_->load_id (), obj)); typename object_traits::reference_cache_traits::insert_guard ig (p); res_->load (obj, false); - object_traits::reference_cache_traits::initialize (p); + object_traits::reference_cache_traits::load (p); ig.release (); } } |