diff options
Diffstat (limited to 'base/lock_impl.h')
-rw-r--r-- | base/lock_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/lock_impl.h b/base/lock_impl.h index d3fcc19..2d4a921 100644 --- a/base/lock_impl.h +++ b/base/lock_impl.h @@ -47,9 +47,9 @@ class LockImpl { // through the os_lock() method, runtime assertions can not be done on those // builds. #if defined(NDEBUG) || !defined(OS_WIN) - void AssertAcquired() {} + void AssertAcquired() const {} #else - void AssertAcquired(); + void AssertAcquired() const; #endif // Return the native underlying lock. Not supported for Windows builds. |