From d83a7296e228cf0af74992020f51c566a03108c9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2011 15:16:49 +0200 Subject: Add support for persistent classes without object ids New pragma id (object). New test: common/no-id. --- odb/sqlite/view-result.txx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'odb/sqlite/view-result.txx') diff --git a/odb/sqlite/view-result.txx b/odb/sqlite/view-result.txx index 2facc24..f4449eb 100644 --- a/odb/sqlite/view-result.txx +++ b/odb/sqlite/view-result.txx @@ -13,14 +13,14 @@ namespace odb namespace sqlite { template - result_impl:: - ~result_impl () + view_result_impl:: + ~view_result_impl () { } template - result_impl:: - result_impl (const query& q, + view_result_impl:: + view_result_impl (const query& q, details::shared_ptr statement, view_statements& statements) : base_type (statements.connection ().database ()), @@ -30,7 +30,7 @@ namespace odb } template - void result_impl:: + void view_result_impl:: load (view_type& view) { // The image can grow between calls to load() as a result of other @@ -71,7 +71,7 @@ namespace odb } template - void result_impl:: + void view_result_impl:: next () { this->current (pointer_type ()); @@ -81,13 +81,13 @@ namespace odb } template - void result_impl:: + void view_result_impl:: cache () { } template - std::size_t result_impl:: + std::size_t view_result_impl:: size () { throw result_not_cached (); -- cgit v1.1