Browse Source

[2202] Minor cleanups

* Removed an unneeded friend declaration.
* Typo
Michal 'vorner' Vaner 12 years ago
parent
commit
022f55634b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/lib/util/threads/lock.h

+ 1 - 2
src/lib/util/threads/lock.h

@@ -75,7 +75,7 @@ public:
 
 
     /// \brief This holds a lock on a Mutex.
     /// \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.
     /// is destroyed.
     ///
     ///
     /// If you create the locker on the stack or using some other "garbage
     /// If you create the locker on the stack or using some other "garbage
@@ -127,7 +127,6 @@ public:
     /// \todo Disable in non-debug build
     /// \todo Disable in non-debug build
     bool locked() const;
     bool locked() const;
 private:
 private:
-    friend class Locker;
     class Impl;
     class Impl;
     Impl* impl_;
     Impl* impl_;
     void lock();
     void lock();