diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-02 08:33:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-02 08:33:25 +0200 |
commit | 7fb59e3beca03493426d0b4c4153d7e6b6d2f34b (patch) | |
tree | 8e40e361dbd5f7c0dd9491e3c932887048760d21 /odb/polymorphic-info.hxx | |
parent | 0770beace3b6f944209417f1b4541fa31d443529 (diff) |
Support for versioning simple value in object
Diffstat (limited to 'odb/polymorphic-info.hxx')
-rw-r--r-- | odb/polymorphic-info.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/polymorphic-info.hxx b/odb/polymorphic-info.hxx index 7762525..92dfa98 100644 --- a/odb/polymorphic-info.hxx +++ b/odb/polymorphic-info.hxx @@ -11,6 +11,7 @@ #include <typeinfo> #include <odb/forward.hxx> // database, connection +#include <odb/schema-version.hxx> #include <odb/traits.hxx> namespace odb @@ -116,7 +117,10 @@ namespace odb typedef bool (*dispatch_function) ( call_type, odb::database&, const root_type*, const void* arg); typedef void (*delayed_loader_function) ( - odb::database&, const id_type&, root_type&); + odb::database&, + const id_type&, + root_type&, + const schema_version_migration*); public: polymorphic_concrete_info (const std::type_info& t, |