summaryrefslogtreecommitdiff
path: root/runtime/mirror/object.cc
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2018-11-29 11:33:18 -0800
committer Elliott Hughes <enh@google.com> 2018-11-29 11:33:18 -0800
commitc1896c9a0e15df3a1b9a3a19bcd2a933b654fe06 (patch)
treeb68a5f5163f8da0da87d671a225addaa2a13095f /runtime/mirror/object.cc
parentf2970cd870948a6ee1c8ecd30c9c3147d05aa0be (diff)
C++17 compatibility: make WITH_TIDY=1 happy again.
Bug: http://b/111067277 Test: builds Change-Id: I8b69ea3815e14bb6eb27f40c0dd01a85b340a355
Diffstat (limited to 'runtime/mirror/object.cc')
-rw-r--r--runtime/mirror/object.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/mirror/object.cc b/runtime/mirror/object.cc
index 9b38576fc5..f6adc800e4 100644
--- a/runtime/mirror/object.cc
+++ b/runtime/mirror/object.cc
@@ -225,11 +225,10 @@ int32_t Object::IdentityHashCode() {
}
default: {
LOG(FATAL) << "Invalid state during hashcode " << lw.GetState();
- break;
+ UNREACHABLE();
}
}
}
- UNREACHABLE();
}
void Object::CheckFieldAssignmentImpl(MemberOffset field_offset, ObjPtr<Object> new_value) {