diff options
Diffstat (limited to 'odb/mssql/polymorphic-object-result.hxx')
-rw-r--r-- | odb/mssql/polymorphic-object-result.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/mssql/polymorphic-object-result.hxx b/odb/mssql/polymorphic-object-result.hxx index 91b5bfe..bb353b5 100644 --- a/odb/mssql/polymorphic-object-result.hxx +++ b/odb/mssql/polymorphic-object-result.hxx @@ -9,6 +9,7 @@ #include <cstddef> // std::size_t +#include <odb/schema-version.hxx> #include <odb/polymorphic-object-result.hxx> #include <odb/details/shared-ptr.hxx> @@ -16,6 +17,7 @@ #include <odb/mssql/version.hxx> #include <odb/mssql/forward.hxx> // query_base #include <odb/mssql/statement.hxx> +#include <odb/mssql/traits-calls.hxx> namespace odb { @@ -48,7 +50,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); @@ -82,6 +85,7 @@ namespace odb private: details::shared_ptr<select_statement> statement_; statements_type& statements_; + object_traits_calls<object_type> tc_; bool can_load_; bool use_copy_; image_type* image_copy_; |