diff options
author | 2016-10-18 18:03:43 +0100 | |
---|---|---|
committer | 2017-01-23 15:50:01 +0000 | |
commit | 5e8d5f01b0fe87a6c649bd3a9f1534228b93423d (patch) | |
tree | a1441acc0021d170f412542ae2a1ae62794e7846 /runtime/class_linker_test.cc | |
parent | b0dde4397fa5b0756312b46bd18477a2c1f6a7da (diff) |
Fix some typos in ART.
Test: m build-art-host
Test: m cpplint-art
Change-Id: Ifc6ce3d0d645c4a8dca72dd483fc03fc05077130
Diffstat (limited to 'runtime/class_linker_test.cc')
-rw-r--r-- | runtime/class_linker_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_linker_test.cc b/runtime/class_linker_test.cc index 7d4b1589b6..7b6c0dc510 100644 --- a/runtime/class_linker_test.cc +++ b/runtime/class_linker_test.cc @@ -487,7 +487,7 @@ struct CheckOffsets { // says AccessibleObject is 9 bytes but sizeof(AccessibleObject) is 12 bytes due to padding. // The RoundUp is to get around this case. static constexpr size_t kPackAlignment = 4; - size_t expected_size = RoundUp(is_static ? klass->GetClassSize(): klass->GetObjectSize(), + size_t expected_size = RoundUp(is_static ? klass->GetClassSize() : klass->GetObjectSize(), kPackAlignment); if (sizeof(T) != expected_size) { LOG(ERROR) << "Class size mismatch:" |