Commit 2ee39a5d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

DatabaseHelpers: Use a simple locker type

We don't pass the locking object around, lock_guard is good enough
parent 174f3718
......@@ -33,7 +33,7 @@
template <typename IMPL, typename TABLEPOLICY>
class DatabaseHelpers
using Lock = std::unique_lock<std::recursive_mutex>;
using Lock = std::lock_guard<std::recursive_mutex>;
template <typename... Args>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment