aboutsummaryrefslogtreecommitdiff
path: root/brep/shared-database
diff options
context:
space:
mode:
Diffstat (limited to 'brep/shared-database')
-rw-r--r--brep/shared-database25
1 files changed, 0 insertions, 25 deletions
diff --git a/brep/shared-database b/brep/shared-database
deleted file mode 100644
index b445cc1..0000000
--- a/brep/shared-database
+++ /dev/null
@@ -1,25 +0,0 @@
-// file : brep/shared-database -*- C++ -*-
-// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#ifndef BREP_SHARED_DATABASE
-#define BREP_SHARED_DATABASE
-
-#include <odb/forward.hxx> // database
-
-#include <brep/types>
-
-#include <brep/options>
-
-namespace brep
-{
- // Returns pointer to the shared database instance, creating one on the
- // first call. On subsequent calls ensures passed host and port equals
- // to ones of the existing database instance throwing runtime_error
- // otherwise. Is not thread-safe.
- //
- shared_ptr<odb::core::database>
- shared_database (const options::db&);
-}
-
-#endif // BREP_SHARED_DATABASE