From 485ae35a88fe2500574797d7342cfa7585e9e191 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 4 Sep 2013 13:40:31 +0200 Subject: View versioning support --- odb/pgsql/polymorphic-object-result.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/pgsql/polymorphic-object-result.txx') diff --git a/odb/pgsql/polymorphic-object-result.txx b/odb/pgsql/polymorphic-object-result.txx index d2504eb..c92a278 100644 --- a/odb/pgsql/polymorphic-object-result.txx +++ b/odb/pgsql/polymorphic-object-result.txx @@ -209,7 +209,7 @@ namespace odb if (traits::check_version (sts.select_image_versions (), im)) { binding& b (sts.select_image_binding (traits::depth)); - traits_calls tc (svm); + object_traits_calls tc (svm); tc.bind (b.bind, 0, 0, im, statement_select); traits::update_version ( sts.select_image_versions (), im, sts.select_image_bindings ()); @@ -236,7 +236,7 @@ namespace odb if (im.version != sts.select_image_version ()) { binding& b (sts.select_image_binding ()); - traits_calls tc (svm); + object_traits_calls tc (svm); tc.bind (b.bind, im, statement_select); sts.select_image_version (im.version); b.version++; -- cgit v1.1