diff options
| author | gingerBill <bill@gingerbill.org> | 2024-02-13 17:13:39 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-02-13 17:13:39 +0000 |
| commit | c5c2a4d09d98f0d3b6263e204785553e47b83395 (patch) | |
| tree | 7828c42cd0140b154b06a38230a8e6f8939d3a57 /src/threading.cpp | |
| parent | 912c326d8b05dba282a9a58e2405b09f774dbe34 (diff) | |
Fix typo
Diffstat (limited to 'src/threading.cpp')
| -rw-r--r-- | src/threading.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading.cpp b/src/threading.cpp index 731394126..725b58c89 100644 --- a/src/threading.cpp +++ b/src/threading.cpp @@ -135,7 +135,7 @@ struct MutexGuard { explicit MutexGuard(RecursiveMutex *rm) noexcept : rm{rm} { mutex_lock(this->rm); } - explicit MutexGuard(RwMutex *rm) noexcept : rwm{rwm} { + explicit MutexGuard(RwMutex *rwm) noexcept : rwm{rwm} { rw_mutex_lock(this->rwm); } explicit MutexGuard(BlockingMutex &bm) noexcept : bm{&bm} { |