summaryrefslogtreecommitdiff
path: root/runtime/class_root.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_root.cc')
-rw-r--r--runtime/class_root.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/class_root.cc b/runtime/class_root.cc
index 08820b0c61..6a6fd26ecd 100644
--- a/runtime/class_root.cc
+++ b/runtime/class_root.cc
@@ -16,10 +16,12 @@
#include "class_root.h"
+#include "base/logging.h"
+
namespace art {
const char* GetClassRootDescriptor(ClassRoot class_root) {
- static const char* class_roots_descriptors[] = {
+ static const char* const class_roots_descriptors[] = {
#define CLASS_ROOT_DESCRIPTOR(name, descriptor, mirror_type) descriptor,
CLASS_ROOT_LIST(CLASS_ROOT_DESCRIPTOR)
#undef CLASS_ROOT_DESCRIPTOR