diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-26 11:29:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-26 11:29:05 +0200 |
commit | 61ff4c0458fa0362e054970efbcc21d66240ccc9 (patch) | |
tree | 1a3376fce2d9a2f79583911529549c333fff23ea /common/const-object | |
parent | a93ad74833e3a99a1421fd695a01a1fb15d1f2dd (diff) |
Make session optional
Diffstat (limited to 'common/const-object')
-rw-r--r-- | common/const-object/driver.cxx | 2 | ||||
-rw-r--r-- | common/const-object/test.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/const-object/driver.cxx b/common/const-object/driver.cxx index 03a6a68..1bf66d8 100644 --- a/common/const-object/driver.cxx +++ b/common/const-object/driver.cxx @@ -10,8 +10,8 @@ #include <iostream> #include <odb/database.hxx> -#include <odb/transaction.hxx> #include <odb/session.hxx> +#include <odb/transaction.hxx> #include <common/common.hxx> diff --git a/common/const-object/test.hxx b/common/const-object/test.hxx index 1b8e3c0..feb0040 100644 --- a/common/const-object/test.hxx +++ b/common/const-object/test.hxx @@ -8,7 +8,7 @@ #include <memory> #include <odb/core.hxx> -#pragma db object pointer (obj1*) +#pragma db object pointer (obj1*) session struct obj1 { obj1 () {} |