From df68c0a6f0d36728fa728049e5bcec20de2d0d5e Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 3 Jan 2023 14:01:00 +0000 Subject: Write classes in runtime-generated app image. Test: 845-data-image Bug: 260557058 Change-Id: I640b78942984ac3d3f8d24abda619d78154acd86 --- runtime/mirror/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/mirror/array.h') diff --git a/runtime/mirror/array.h b/runtime/mirror/array.h index dfe7d475c1..0116fdee6f 100644 --- a/runtime/mirror/array.h +++ b/runtime/mirror/array.h @@ -264,7 +264,7 @@ class PointerArray : public Array { // Fixup the pointers in the dest arrays by passing our pointers through the visitor. Only copies // to dest if visitor(source_ptr) != source_ptr. template - void Fixup(ObjPtr dest, PointerSize pointer_size, const Visitor& visitor) + void Fixup(mirror::PointerArray* dest, PointerSize pointer_size, const Visitor& visitor) REQUIRES_SHARED(Locks::mutator_lock_); // Works like memcpy(), except we guarantee not to allow tearing of array values (ie using smaller -- cgit v1.2.3-59-g8ed1b