commit | ad06b985bb8792bc82835acbe93eda8f9839c6d2 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Nov 17 16:38:59 2016 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Thu Nov 17 16:43:37 2016 +0000 |
tree | 4d380c3dd6c1b6cd0512ea0fad14c5616ab54d62 | |
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