diff options
Diffstat (limited to 'odb/oracle/view-result.hxx')
-rw-r--r-- | odb/oracle/view-result.hxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/odb/oracle/view-result.hxx b/odb/oracle/view-result.hxx index 3eb4e2a..f44911a 100644 --- a/odb/oracle/view-result.hxx +++ b/odb/oracle/view-result.hxx @@ -9,11 +9,12 @@ #include <cstddef> // std::size_t +#include <odb/view-result.hxx> + #include <odb/details/shared-ptr.hxx> #include <odb/oracle/version.hxx> #include <odb/oracle/forward.hxx> // query, view_statements -#include <odb/oracle/result.hxx> #include <odb/oracle/statement.hxx> namespace odb @@ -32,12 +33,14 @@ namespace odb typedef typename base_type::pointer_type pointer_type; typedef typename base_type::pointer_traits pointer_traits; + typedef view_statements<view_type> statements_type; + virtual ~view_result_impl (); view_result_impl (const query&, details::shared_ptr<select_statement>, - view_statements<view_type>&); + statements_type&); virtual void load (view_type&); @@ -57,11 +60,11 @@ namespace odb typedef oracle::change_callback change_callback_type; static void - change_callback (void* context); + change_callback (void* context, binding*); private: details::shared_ptr<select_statement> statement_; - view_statements<view_type>& statements_; + statements_type& statements_; bool use_copy_; typename view_traits::image_type* image_copy_; }; |