diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-03-17 05:59:42 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-03-17 05:59:42 +0100 |
commit | a347b831ee7a4fc414903bbed5eaeab5020122a3 (patch) | |
tree | 96f1693de5b66dff761a48cb6a30eaca67b19a25 /includes | |
parent | 2380ebca01bdff36c2d12b0a23bef84e07920cb3 (diff) |
Typo.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Threads.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Threads.h b/includes/Threads.h index c5146a5..23d664f 100644 --- a/includes/Threads.h +++ b/includes/Threads.h @@ -44,7 +44,7 @@ class RWLock { class ScopeLockR { public: - ScopeLockR(Lock & lock) : m_lock(lock) { m_lock.enterR(); } + ScopeLockR(RWLock & lock) : m_lock(lock) { m_lock.enterR(); } ~ScopeLockR() { m_lock.leave(); } private: ScopeLockR(const ScopeLockR &); @@ -53,7 +53,7 @@ class ScopeLockR { class ScopeLockW { public: - ScopeLockW(Lock & lock) : m_lock(lock) { m_lock.enterW(); } + ScopeLockW(RWLock & lock) : m_lock(lock) { m_lock.enterW(); } ~ScopeLockW() { m_lock.leave(); } private: ScopeLockW(const ScopeLockW &); |