From 2700ed6a3e1092a064f28b07f8e2c4e5b9b830e7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Nov 2015 20:02:06 +0200 Subject: Implement new URL path schema for the web interface --- brep/shared-database | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'brep/shared-database') 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 -#include // shared_ptr - #include // database +#include + 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 - shared_database (const std::string& host, unsigned int port); + shared_ptr + shared_database (const string& host, unsigned int port); } #endif // BREP_SHARED_DATABASE -- cgit v1.1