aboutsummaryrefslogtreecommitdiff
path: root/brep/database.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-12 16:52:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-12 16:52:43 +0200
commitb250ead8e7237813e9bbd91cb3a9382592bf4abc (patch)
treef3386f125b0c4f5fc9eae8d24f8ea25fc0b8c59e /brep/database.cxx
parent1b60fb26391e6645d18ddb8e42fb3d41de398a78 (diff)
<types>/<utility> scheme cleanup
Diffstat (limited to 'brep/database.cxx')
-rw-r--r--brep/database.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/brep/database.cxx b/brep/database.cxx
index 4525796..9177b55 100644
--- a/brep/database.cxx
+++ b/brep/database.cxx
@@ -4,13 +4,8 @@
#include <brep/database>
-#include <stdexcept> // runtime_error
-
#include <odb/pgsql/database.hxx>
-#include <brep/types>
-#include <brep/utility>
-
namespace brep
{
shared_ptr<odb::database>
@@ -30,7 +25,7 @@ namespace brep
o.db_name () != d->db () ||
o.db_host () != d->host () ||
o.db_port () != d->port ())
- throw std::runtime_error ("shared database options mismatch");
+ throw runtime_error ("shared database options mismatch");
return d;
}