summaryrefslogtreecommitdiff
path: root/runtime/mirror/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mirror/string.h')
-rw-r--r--runtime/mirror/string.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/mirror/string.h b/runtime/mirror/string.h
index 01d8f318ff..7520c4d33c 100644
--- a/runtime/mirror/string.h
+++ b/runtime/mirror/string.h
@@ -117,10 +117,8 @@ class MANAGED String : public Object {
private:
void SetHashCode(int32_t new_hash_code) {
- DCHECK_EQ(0u,
- GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), false));
- SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_),
- new_hash_code, false);
+ DCHECK_EQ(0u, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), false));
+ SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code, false);
}
void SetCount(int32_t new_count) {