diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-12 16:52:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-12 16:52:43 +0200 |
commit | b250ead8e7237813e9bbd91cb3a9382592bf4abc (patch) | |
tree | f3386f125b0c4f5fc9eae8d24f8ea25fc0b8c59e /brep/database-lock | |
parent | 1b60fb26391e6645d18ddb8e42fb3d41de398a78 (diff) |
<types>/<utility> scheme cleanup
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_; }; } |