summaryrefslogtreecommitdiff
path: root/runtime/mirror/array.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2021-07-14 12:45:13 +0100
committer Vladimir Marko <vmarko@google.com> 2021-07-14 15:18:36 +0000
commit4f990714b13e0b4446305a5411648a1a9ae42a7a (patch)
tree4568386e3e6f3c98c819851f6573e2c7cbc184fb /runtime/mirror/array.h
parent7744b69abf073101b09b9043f0f0eb109768fcfe (diff)
Modernize typedefs with `using`.
Replace many occurences of `typedef` with `using`. For now, do not update typedefs for function types and aligned types and do not touch some parts such as jvmti or dmtracedump. Test: m Change-Id: Ie97ecbc5abf7e7109ef4b01f208752e2dc26c36d
Diffstat (limited to 'runtime/mirror/array.h')
-rw-r--r--runtime/mirror/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/array.h b/runtime/mirror/array.h
index 717d1de779..4bf9deebfe 100644
--- a/runtime/mirror/array.h
+++ b/runtime/mirror/array.h
@@ -158,7 +158,7 @@ class MANAGED PrimitiveArray : public Array {
MIRROR_CLASS("[F");
MIRROR_CLASS("[D");
- typedef T ElementType;
+ using ElementType = T;
static ObjPtr<PrimitiveArray<T>> Alloc(Thread* self, size_t length)
REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Roles::uninterruptible_);