diff options
Diffstat (limited to 'brep/database-lock')
-rw-r--r-- | brep/database-lock | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/brep/database-lock b/brep/database-lock index 72036a1..dc233c7 100644 --- a/brep/database-lock +++ b/brep/database-lock @@ -5,12 +5,12 @@ #ifndef BREP_DATABASE_LOCK #define BREP_DATABASE_LOCK -#include <memory> // unique_ptr -#include <exception> - #include <odb/pgsql/forward.hxx> // database, transaction #include <odb/pgsql/connection.hxx> +#include <brep/types> +#include <brep/utility> + namespace brep { struct database_locked: std::exception @@ -36,7 +36,7 @@ namespace brep private: odb::pgsql::connection_ptr connection_; - std::unique_ptr<odb::pgsql::transaction> transaction_; + unique_ptr<odb::pgsql::transaction> transaction_; }; } |