aboutsummaryrefslogtreecommitdiff
path: root/odb/transaction.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/transaction.hxx')
-rw-r--r--odb/transaction.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/odb/transaction.hxx b/odb/transaction.hxx
index 43526d0..71d17eb 100644
--- a/odb/transaction.hxx
+++ b/odb/transaction.hxx
@@ -6,13 +6,17 @@
#ifndef ODB_TRANSACTION_HXX
#define ODB_TRANSACTION_HXX
+#include <odb/pre.hxx>
+
#include <odb/forward.hxx>
+#include <odb/details/export.hxx>
+
namespace odb
{
class transaction_impl;
- class transaction
+ class LIBODB_EXPORT transaction
{
public:
typedef odb::database database_type;
@@ -62,7 +66,7 @@ namespace odb
transaction_impl* impl_;
};
- class transaction_impl
+ class LIBODB_EXPORT transaction_impl
{
protected:
friend class transaction;
@@ -96,4 +100,6 @@ namespace odb
#include <odb/transaction.ixx>
+#include <odb/post.hxx>
+
#endif // ODB_TRANSACTION_HXX