aboutsummaryrefslogtreecommitdiff
path: root/brep/database.cxx
diff options
context:
space:
mode:
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;
}