aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/view-result.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-27 15:16:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-10-27 15:16:49 +0200
commit2f920671a7e4be7eb488724ae19360a87d66860c (patch)
treeba75343bc5e3daa6616658dfd158e83512ce4c19 /odb/mysql/view-result.hxx
parent16f68924f0704abba3598d261b4a4d74355179f1 (diff)
Add support for persistent classes without object ids
New pragma id (object). New test: common/no-id.
Diffstat (limited to 'odb/mysql/view-result.hxx')
-rw-r--r--odb/mysql/view-result.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/odb/mysql/view-result.hxx b/odb/mysql/view-result.hxx
index 8acb97d..a2a9f3c 100644
--- a/odb/mysql/view-result.hxx
+++ b/odb/mysql/view-result.hxx
@@ -22,10 +22,10 @@ namespace odb
namespace mysql
{
template <typename T>
- class result_impl<T, class_view>: public odb::result_impl<T, class_view>
+ class view_result_impl: public odb::view_result_impl<T>
{
public:
- typedef odb::result_impl<T, class_view> base_type;
+ typedef odb::view_result_impl<T> base_type;
typedef typename base_type::view_type view_type;
typedef typename base_type::view_traits view_traits;
@@ -34,11 +34,11 @@ namespace odb
typedef typename base_type::pointer_traits pointer_traits;
virtual
- ~result_impl ();
+ ~view_result_impl ();
- result_impl (const query&,
- details::shared_ptr<select_statement>,
- view_statements<view_type>&);
+ view_result_impl (const query&,
+ details::shared_ptr<select_statement>,
+ view_statements<view_type>&);
virtual void
load (view_type&);