summaryrefslogtreecommitdiff
path: root/libartbase/base/debug_stack.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 /libartbase/base/debug_stack.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 'libartbase/base/debug_stack.h')
-rw-r--r--libartbase/base/debug_stack.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libartbase/base/debug_stack.h b/libartbase/base/debug_stack.h
index f2d93d462a..4743786418 100644
--- a/libartbase/base/debug_stack.h
+++ b/libartbase/base/debug_stack.h
@@ -37,9 +37,9 @@ class DebugStackReferenceImpl;
template <bool kIsDebug>
class DebugStackIndirectTopRefImpl;
-typedef DebugStackRefCounterImpl<kIsDebugBuild> DebugStackRefCounter;
-typedef DebugStackReferenceImpl<kIsDebugBuild> DebugStackReference;
-typedef DebugStackIndirectTopRefImpl<kIsDebugBuild> DebugStackIndirectTopRef;
+using DebugStackRefCounter = DebugStackRefCounterImpl<kIsDebugBuild>;
+using DebugStackReference = DebugStackReferenceImpl<kIsDebugBuild>;
+using DebugStackIndirectTopRef = DebugStackIndirectTopRefImpl<kIsDebugBuild>;
// Non-debug mode specializations. This should be optimized away.