aboutsummaryrefslogtreecommitdiff
path: root/brep/shared-database.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'brep/shared-database.cxx')
-rw-r--r--brep/shared-database.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/brep/shared-database.cxx b/brep/shared-database.cxx
index c1d128f..db6b811 100644
--- a/brep/shared-database.cxx
+++ b/brep/shared-database.cxx
@@ -19,10 +19,9 @@ namespace brep
using odb::pgsql::database;
static weak_ptr<database> db;
- // In C++11, function-static variable initialization is
- // guaranteed to be thread-safe, thought this doesn't
- // seem to be enough in our case (because we are re-
- // initializing the weak pointer).
+ // In C++11, function-static variable initialization is guaranteed to be
+ // thread-safe, thought this doesn't seem to be enough in our case
+ // (because we are re-initializing the weak pointer).
//
if (shared_ptr<database> d = db.lock ())
{