aboutsummaryrefslogtreecommitdiff
path: root/brep/shared-database
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-15 13:38:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-15 13:38:57 +0200
commitef9615aebb8a7b504c3b5cd2610e3c8f5bb4de58 (patch)
treeaca0be97a87005f177d0e015f132b117726cfe12 /brep/shared-database
parentd43e00ba64a5332100a8a2330d251051302b0193 (diff)
Various cleanups and improvements, INSTALL-DEV instructions
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