aboutsummaryrefslogtreecommitdiff
path: root/common/const-object
diff options
context:
space:
mode:
Diffstat (limited to 'common/const-object')
-rw-r--r--common/const-object/driver.cxx2
-rw-r--r--common/const-object/test.hxx2
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 () {}