summaryrefslogtreecommitdiff
path: root/runtime/mirror/array.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2019-05-14 12:41:40 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2019-05-16 00:59:49 +0000
commit391be3ab96ebe8d9cc00849a3bb8058708416000 (patch)
treea3c56b6250b34e23eedac6d50c65b164e959a62f /runtime/mirror/array.h
parent0c2313c2d119e32ac27dae6513a9406ea087bfa9 (diff)
ART: Forward-declare AllocatorType (iwyu)
Test: mmma art Change-Id: I064a1664727dfbed6ae91bde1658c7ba021bcc94
Diffstat (limited to 'runtime/mirror/array.h')
-rw-r--r--runtime/mirror/array.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/mirror/array.h b/runtime/mirror/array.h
index 1ee4e50df8..f0397b6912 100644
--- a/runtime/mirror/array.h
+++ b/runtime/mirror/array.h
@@ -19,12 +19,15 @@
#include "base/bit_utils.h"
#include "base/enums.h"
-#include "gc/allocator_type.h"
#include "obj_ptr.h"
#include "object.h"
namespace art {
+namespace gc {
+enum AllocatorType : char;
+} // namespace gc
+
template<class T> class Handle;
class Thread;