From 61ff4c0458fa0362e054970efbcc21d66240ccc9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Apr 2012 11:29:05 +0200 Subject: Make session optional --- common/polymorphism/driver.cxx | 1 + common/polymorphism/test.hxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'common/polymorphism') 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 #include +#include #include #include 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 () {} -- cgit v1.1