summaryrefslogtreecommitdiff
path: root/runtime/mirror/object.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2019-03-27 16:41:41 +0000
committer Vladimir Marko <vmarko@google.com> 2019-03-28 09:22:07 +0000
commit0984e483c1b8033250a32b11f112ae3e65eef39b (patch)
tree267b4f59818e5080dff726adf25e5b5710111377 /runtime/mirror/object.cc
parent621c8807f38fedab56ea701370a18df123177f67 (diff)
Style cleanup for ObjPtr<>-ify changes.
Replace "ObjPtr<.> const" with "const ObjPtr<.>". Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: I5a1c080bc88b091e15ee9eb0bb1ef6f6f290701c
Diffstat (limited to 'runtime/mirror/object.cc')
-rw-r--r--runtime/mirror/object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/object.cc b/runtime/mirror/object.cc
index f6adc800e4..b8d1d3fd38 100644
--- a/runtime/mirror/object.cc
+++ b/runtime/mirror/object.cc
@@ -71,7 +71,7 @@ class CopyReferenceFieldsWithReadBarrierVisitor {
void VisitRoot(mirror::CompressedReference<mirror::Object>* root ATTRIBUTE_UNUSED) const {}
private:
- ObjPtr<Object> const dest_obj_;
+ const ObjPtr<Object> dest_obj_;
};
Object* Object::CopyObject(ObjPtr<mirror::Object> dest,