summaryrefslogtreecommitdiff
path: root/dex2oat/linker/elf_writer_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dex2oat/linker/elf_writer_test.cc')
-rw-r--r--dex2oat/linker/elf_writer_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/linker/elf_writer_test.cc b/dex2oat/linker/elf_writer_test.cc
index ef85fd16ff..e7db70c49e 100644
--- a/dex2oat/linker/elf_writer_test.cc
+++ b/dex2oat/linker/elf_writer_test.cc
@@ -164,7 +164,7 @@ TEST_F(ElfWriterTest, EncodeDecodeOatPatches) {
// Patch manually.
std::vector<uint8_t> expected = initial_data;
for (uintptr_t location : patch_locations) {
- typedef __attribute__((__aligned__(1))) uint32_t UnalignedAddress;
+ using UnalignedAddress = __attribute__((__aligned__(1))) uint32_t;
*reinterpret_cast<UnalignedAddress*>(expected.data() + location) += delta;
}