From 137663953feb2362c973d7528cf103cadd50d845 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 16 Jan 2013 16:31:29 +0200 Subject: Make session cache management functions static, add notifications --- odb/sqlite/polymorphic-object-result.txx | 2 +- odb/sqlite/simple-object-statements.txx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/odb/sqlite/polymorphic-object-result.txx b/odb/sqlite/polymorphic-object-result.txx index 7591194..a91aab0 100644 --- a/odb/sqlite/polymorphic-object-result.txx +++ b/odb/sqlite/polymorphic-object-result.txx @@ -155,7 +155,7 @@ namespace odb ce = callback_event::post_load; pi.dispatch (info_type::call_callback, this->db_, pobj, &ce); - object_traits::pointer_cache_traits::initialize (ig.position ()); + object_traits::pointer_cache_traits::load (ig.position ()); ig.release (); } diff --git a/odb/sqlite/simple-object-statements.txx b/odb/sqlite/simple-object-statements.txx index f3e617a..51c4948 100644 --- a/odb/sqlite/simple-object-statements.txx +++ b/odb/sqlite/simple-object-statements.txx @@ -118,7 +118,7 @@ namespace odb else l.loader (db, l.id, *l.obj); - pointer_cache_traits::initialize (ig.position ()); + pointer_cache_traits::load (ig.position ()); ig.release (); } } -- cgit v1.1