diff options
Diffstat (limited to 'brep/shared-database')
-rw-r--r-- | brep/shared-database | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/brep/shared-database b/brep/shared-database index 36fa0a2..4d8186d 100644 --- a/brep/shared-database +++ b/brep/shared-database @@ -5,11 +5,10 @@ #ifndef BREP_SHARED_DATABASE #define BREP_SHARED_DATABASE -#include <string> -#include <memory> // shared_ptr - #include <odb/forward.hxx> // database +#include <brep/types> + namespace brep { // Returns pointer to the shared database instance, creating one on the @@ -17,8 +16,8 @@ namespace brep // to ones of the existing database instance throwing runtime_error // otherwise. Is not thread-safe. // - std::shared_ptr<odb::core::database> - shared_database (const std::string& host, unsigned int port); + shared_ptr<odb::core::database> + shared_database (const string& host, unsigned int port); } #endif // BREP_SHARED_DATABASE |