aboutsummaryrefslogtreecommitdiff
path: root/c++11/employee.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-26 11:29:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-26 11:29:05 +0200
commit3506ef645e4cd26aebb73f493001d584e4cce22a (patch)
treebfc53872849a256861903a21daa55ebf097f0f39 /c++11/employee.hxx
parentab994fdada3eebc794d6b1686f55a35420e4d758 (diff)
Make session optional
Diffstat (limited to 'c++11/employee.hxx')
-rw-r--r--c++11/employee.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++11/employee.hxx b/c++11/employee.hxx
index 3750ca0..0c2abc7 100644
--- a/c++11/employee.hxx
+++ b/c++11/employee.hxx
@@ -17,7 +17,7 @@
class employer;
class employee;
-#pragma db object pointer(std::shared_ptr)
+#pragma db object pointer(std::shared_ptr) session
class employer
{
public:
@@ -60,7 +60,7 @@ private:
employees_type employees_;
};
-#pragma db object pointer(std::shared_ptr)
+#pragma db object pointer(std::shared_ptr) session
class employee
{
public: