From 3a407bb6b73a186eafd99bcec570f88097c4b2e1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Sep 2012 19:11:53 +0300 Subject: Add const to more classes. --- src/utils/mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/mutex.h') diff --git a/src/utils/mutex.h b/src/utils/mutex.h index 61129b4a9..fe560e354 100644 --- a/src/utils/mutex.h +++ b/src/utils/mutex.h @@ -84,7 +84,7 @@ inline void Mutex::unlock() } -inline MutexLocker::MutexLocker(Mutex *mutex): +inline MutexLocker::MutexLocker(Mutex *const mutex) : mMutex(mutex) { mMutex->lock(); -- cgit v1.2.3-70-g09d2