Browse Source

[1704] constify

JINMEI Tatuya 13 years ago
parent
commit
f71a0c646d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/util/interprocess_sync.h

+ 1 - 1
src/lib/util/interprocess_sync.h

@@ -128,7 +128,7 @@ public:
     ///
     ///
     /// \return Returns true if a lock is currently acquired, false
     /// \return Returns true if a lock is currently acquired, false
     ///         otherwise.
     ///         otherwise.
-    bool isLocked() {
+    bool isLocked() const {
         return (sync_.is_locked_);
         return (sync_.is_locked_);
     }
     }