aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/view-result.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-02-22 12:28:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-02-22 12:29:42 +0200
commit88d2a5bf72dc8dabce16428ab8c6d37df5dd6cce (patch)
tree2e85e52d8650de386239dfba2b2494b9fa8b85fa /odb/sqlite/view-result.txx
parentde7d733d27c13c482f06b23a5770f0d7657cb04b (diff)
Add support for composite object ids
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
Diffstat (limited to 'odb/sqlite/view-result.txx')
-rw-r--r--odb/sqlite/view-result.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/sqlite/view-result.txx b/odb/sqlite/view-result.txx
index b7ec7ae..c240add 100644
--- a/odb/sqlite/view-result.txx
+++ b/odb/sqlite/view-result.txx
@@ -65,7 +65,7 @@ namespace odb
odb::database& db (this->database ());
view_traits::callback (db, view, callback_event::pre_load);
- view_traits::init (view, im, db);
+ view_traits::init (view, im, &db);
view_traits::callback (db, view, callback_event::post_load);
}