diff options
Diffstat (limited to 'base/lock.h')
-rw-r--r-- | base/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/lock.h b/base/lock.h index f3653cf..31ad9a0 100644 --- a/base/lock.h +++ b/base/lock.h @@ -23,7 +23,7 @@ class Lock { // calling thread. If the lock has not been acquired, then the method // will DCHECK(). In non-debug builds, the LockImpl's implementation of // AssertAcquired() is an empty inline method. - void AssertAcquired() { return lock_.AssertAcquired(); } + void AssertAcquired() const { return lock_.AssertAcquired(); } // Return the underlying lock implementation. // TODO(awalker): refactor lock and condition variables so that this is |