summaryrefslogtreecommitdiff
path: root/src/utils/mutex.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-04 19:11:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-04 19:11:53 +0300
commit3a407bb6b73a186eafd99bcec570f88097c4b2e1 (patch)
treeea57a752c348ba0a883294855ad3c62c16e9749d /src/utils/mutex.h
parent872fc368f7b253f26714fc47323064f270b62b40 (diff)
downloadplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.gz
plus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.bz2
plus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.xz
plus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.zip
Add const to more classes.
Diffstat (limited to 'src/utils/mutex.h')
-rw-r--r--src/utils/mutex.h2
1 files changed, 1 insertions, 1 deletions
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();