diff options
Diffstat (limited to 'runtime/monitor.h')
| -rw-r--r-- | runtime/monitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/monitor.h b/runtime/monitor.h index dd4c21cc40..ad7a0b4406 100644 --- a/runtime/monitor.h +++ b/runtime/monitor.h @@ -134,7 +134,7 @@ class Monitor { template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier> ObjPtr<mirror::Object> GetObject() REQUIRES_SHARED(Locks::mutator_lock_); - void SetObject(ObjPtr<mirror::Object> object); + void SetObject(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); // Provides no memory ordering guarantees. Thread* GetOwner() const { |