aboutsummaryrefslogtreecommitdiff
path: root/odb/database.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/database.cxx')
-rw-r--r--odb/database.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/database.cxx b/odb/database.cxx
index 2ce15b2..7ea8313 100644
--- a/odb/database.cxx
+++ b/odb/database.cxx
@@ -27,7 +27,7 @@ namespace odb
const database::schema_version_migration_type& database::
schema_version_migration (const string& name) const
{
- lock l (mutex_); // Prevents concurrent loading.
+ lock l (*mutex_); // Prevents concurrent loading.
schema_version_map::const_iterator i (schema_version_map_.find (name));
return i != schema_version_map_.end () && i->second.version != 0