diff options
author | 2017-11-08 13:35:21 -0800 | |
---|---|---|
committer | 2017-11-08 15:15:52 -0800 | |
commit | 2ffb703bf431d74326c88266b4ddaf225eb3c6ad (patch) | |
tree | 0552c3c76a42b18f9e7460d501fb71a6dc2e7f33 /patchoat/patchoat.h | |
parent | c4b6f3116f15c8e4fdf2e4f604ababdee12d8923 (diff) |
cpplint: Cleanup errors
Cleanup errors from upstream cpplint in preparation
for moving art's cpplint fork to upstream tip-of-tree cpplint.
Test: cd art && mm
Bug: 68951293
Change-Id: I15faed4594cbcb8399850f8bdee39d42c0c5b956
Diffstat (limited to 'patchoat/patchoat.h')
-rw-r--r-- | patchoat/patchoat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patchoat/patchoat.h b/patchoat/patchoat.h index d4c5a101d5..83516845d8 100644 --- a/patchoat/patchoat.h +++ b/patchoat/patchoat.h @@ -150,7 +150,7 @@ class PatchOat { // Walks through the old image and patches the mmap'd copy of it to the new offset. It does not // change the heap. class PatchVisitor { - public: + public: PatchVisitor(PatchOat* patcher, mirror::Object* copy) : patcher_(patcher), copy_(copy) {} ~PatchVisitor() {} void operator() (ObjPtr<mirror::Object> obj, MemberOffset off, bool b) const @@ -163,7 +163,7 @@ class PatchOat { const {} void VisitRoot(mirror::CompressedReference<mirror::Object>* root ATTRIBUTE_UNUSED) const {} - private: + private: PatchOat* const patcher_; mirror::Object* const copy_; }; |