From: Michal 'vorner' Vaner Date: Wed, 26 Sep 2012 09:11:04 +0000 (+0200) Subject: [2202] Minor cleanups X-Git-Tag: trac2402_base~79^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=022f55634bf4865a315797abafedfbe43d54603b;p=thirdparty%2Fkea.git [2202] Minor cleanups * Removed an unneeded friend declaration. * Typo --- diff --git a/src/lib/util/threads/lock.h b/src/lib/util/threads/lock.h index fea105b855..dd714742ec 100644 --- a/src/lib/util/threads/lock.h +++ b/src/lib/util/threads/lock.h @@ -75,7 +75,7 @@ public: /// \brief This holds a lock on a Mutex. /// - /// To lock a mutex, create a locket. It'll get unlocked when the locker + /// To lock a mutex, create a locker. It'll get unlocked when the locker /// is destroyed. /// /// If you create the locker on the stack or using some other "garbage @@ -127,7 +127,6 @@ public: /// \todo Disable in non-debug build bool locked() const; private: - friend class Locker; class Impl; Impl* impl_; void lock();