diff options
Diffstat (limited to 'runtime/indirect_reference_table.cc')
-rw-r--r-- | runtime/indirect_reference_table.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/indirect_reference_table.cc b/runtime/indirect_reference_table.cc index 8e49492cf4..4f81b59115 100644 --- a/runtime/indirect_reference_table.cc +++ b/runtime/indirect_reference_table.cc @@ -36,10 +36,10 @@ template<typename T> class MutatorLockedDumpable { public: explicit MutatorLockedDumpable(T& value) - SHARED_REQUIRES(Locks::mutator_lock_) : value_(value) { + REQUIRES_SHARED(Locks::mutator_lock_) : value_(value) { } - void Dump(std::ostream& os) const SHARED_REQUIRES(Locks::mutator_lock_) { + void Dump(std::ostream& os) const REQUIRES_SHARED(Locks::mutator_lock_) { value_.Dump(os); } @@ -51,7 +51,7 @@ class MutatorLockedDumpable { template<typename T> std::ostream& operator<<(std::ostream& os, const MutatorLockedDumpable<T>& rhs) -// TODO: should be SHARED_REQUIRES(Locks::mutator_lock_) however annotalysis +// TODO: should be REQUIRES_SHARED(Locks::mutator_lock_) however annotalysis // currently fails for this. NO_THREAD_SAFETY_ANALYSIS { rhs.Dump(os); |