diff options
author | Vladimir Marko <vmarko@google.com> | 2016-11-17 16:38:59 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2016-11-17 16:43:37 +0000 |
commit | ad06b985bb8792bc82835acbe93eda8f9839c6d2 (patch) | |
tree | 4d380c3dd6c1b6cd0512ea0fad14c5616ab54d62 /compiler/optimizing/codegen_test_utils.h | |
parent | 85347bd18d47066ea9a214d29cec994472ad18ca (diff) |
Make ImageWriter and PatchOat helper classes nested.
Nested classes are better for encapsulation. For example,
we've had an art::FixupRootVisitor in both image_writer.cc
and patchoat.cc and we didn't get an ODR violation only
because these two files are never used in the same process.
Test: Rely on the TreeHugger.
Change-Id: I39a86994923a9c0faa5f05d8c9ede982ce9c0c4c
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions