aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/view-result.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/view-result.txx')
-rw-r--r--odb/pgsql/view-result.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/view-result.txx b/odb/pgsql/view-result.txx
index 51a9416..0989d62 100644
--- a/odb/pgsql/view-result.txx
+++ b/odb/pgsql/view-result.txx
@@ -64,7 +64,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);
}