diff options
Diffstat (limited to 'odb/pgsql/polymorphic-object-result.hxx')
-rw-r--r-- | odb/pgsql/polymorphic-object-result.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/pgsql/polymorphic-object-result.hxx b/odb/pgsql/polymorphic-object-result.hxx index a7d5077..acbfd43 100644 --- a/odb/pgsql/polymorphic-object-result.hxx +++ b/odb/pgsql/polymorphic-object-result.hxx @@ -16,6 +16,7 @@ #include <odb/pgsql/version.hxx> #include <odb/pgsql/forward.hxx> // query_base #include <odb/pgsql/statement.hxx> +#include <odb/pgsql/traits-calls.hxx> namespace odb { @@ -47,7 +48,8 @@ namespace odb polymorphic_object_result_impl (const query_base&, details::shared_ptr<select_statement>, - statements_type&); + statements_type&, + const schema_version_migration*); virtual void load (object_type*, bool fetch); @@ -79,6 +81,7 @@ namespace odb private: details::shared_ptr<select_statement> statement_; statements_type& statements_; + traits_calls<object_type> tc_; std::size_t count_; }; } |