diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-16 16:31:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-16 16:31:29 +0200 |
commit | e3dafcdf8b43880c6a1e0451c8ee621f7c3cb954 (patch) | |
tree | ab90ae868337a1c286ab9334c83e890cd0614686 /odb/simple-object-result.txx | |
parent | d2c1f5f1a3063553483d09dec261efa44c6bc9bf (diff) |
Make session cache management functions static, add notifications
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 (); } } |