summaryrefslogtreecommitdiff
path: root/runtime/utf.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/utf.h')
-rw-r--r--runtime/utf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/utf.h b/runtime/utf.h
index 7c9c333126..51a6ade65f 100644
--- a/runtime/utf.h
+++ b/runtime/utf.h
@@ -81,7 +81,7 @@ void ConvertUtf16ToModifiedUtf8(char* utf8_out, size_t byte_count,
* The java.lang.String hashCode() algorithm.
*/
int32_t ComputeUtf16Hash(mirror::CharArray* chars, int32_t offset, size_t char_count)
- SHARED_REQUIRES(Locks::mutator_lock_);
+ REQUIRES_SHARED(Locks::mutator_lock_);
template<typename MemoryType>
int32_t ComputeUtf16Hash(const MemoryType* chars, size_t char_count) {