From e28ab8f48c891c03cf4b3a8ed88b98d38a561960 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Dec 2015 13:45:08 +0200 Subject: Separate brep module configuration from Apache server configuration --- brep/shared-database.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'brep/shared-database.cxx') 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 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 d = db.lock ()) { -- cgit v1.1