changeset 31:00b9ab7e26a0

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Jul 2018 16:16:02 +0200
parents e7732cf515df
children ac2481fb2c7e bde7f48dce41
files Framework/Common/DatabaseManager.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Common/DatabaseManager.cpp	Mon Jul 16 17:39:24 2018 +0200
+++ b/Framework/Common/DatabaseManager.cpp	Mon Jul 16 16:16:02 2018 +0200
@@ -351,8 +351,8 @@
   DatabaseManager::CachedStatement::CachedStatement(const StatementLocation& location,
                                                     DatabaseManager& manager,
                                                     const char* sql) :
-    lock_(manager.mutex_),
     manager_(manager),
+    lock_(manager_.mutex_),
     database_(manager_.GetDatabase()),
     location_(location),
     transaction_(manager_.GetTransaction())