aboutsummaryrefslogtreecommitdiff
path: root/brep/shared-database
diff options
context:
space:
mode:
Diffstat (limited to 'brep/shared-database')
-rw-r--r--brep/shared-database4
1 files changed, 3 insertions, 1 deletions
diff --git a/brep/shared-database b/brep/shared-database
index 4d8186d..b445cc1 100644
--- a/brep/shared-database
+++ b/brep/shared-database
@@ -9,6 +9,8 @@
#include <brep/types>
+#include <brep/options>
+
namespace brep
{
// Returns pointer to the shared database instance, creating one on the
@@ -17,7 +19,7 @@ namespace brep
// otherwise. Is not thread-safe.
//
shared_ptr<odb::core::database>
- shared_database (const string& host, unsigned int port);
+ shared_database (const options::db&);
}
#endif // BREP_SHARED_DATABASE