]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2202] Minor cleanups
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 26 Sep 2012 09:11:04 +0000 (11:11 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 26 Sep 2012 09:11:04 +0000 (11:11 +0200)
* Removed an unneeded friend declaration.
* Typo

src/lib/util/threads/lock.h

index fea105b8555db98e10e4b739447107c2c6fc64b3..dd714742ece2062f9b2504d9b8a76fdf1435fbfa 100644 (file)
@@ -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();