diff options
Diffstat (limited to 'common/polymorphism')
-rw-r--r-- | common/polymorphism/driver.cxx | 1 | ||||
-rw-r--r-- | common/polymorphism/test.hxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/common/polymorphism/driver.cxx b/common/polymorphism/driver.cxx index 0c9bf1e..09e3321 100644 --- a/common/polymorphism/driver.cxx +++ b/common/polymorphism/driver.cxx @@ -10,6 +10,7 @@ #include <iostream> #include <odb/database.hxx> +#include <odb/session.hxx> #include <odb/transaction.hxx> #include <common/common.hxx> diff --git a/common/polymorphism/test.hxx b/common/polymorphism/test.hxx index 99711b5..d0a6ed5 100644 --- a/common/polymorphism/test.hxx +++ b/common/polymorphism/test.hxx @@ -552,7 +552,7 @@ namespace test7 using std::tr1::shared_ptr; #endif - #pragma db object polymorphic pointer(shared_ptr) + #pragma db object polymorphic pointer(shared_ptr) session struct root { virtual ~root () {} |