diff options
Diffstat (limited to 'runtime/mirror/array-inl.h')
-rw-r--r-- | runtime/mirror/array-inl.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/mirror/array-inl.h b/runtime/mirror/array-inl.h index 7d7c1d7cfd..a5db0c0a8a 100644 --- a/runtime/mirror/array-inl.h +++ b/runtime/mirror/array-inl.h @@ -19,10 +19,11 @@ #include "array.h" +#include "android-base/stringprintf.h" + #include "base/bit_utils.h" #include "base/casts.h" #include "base/logging.h" -#include "base/stringprintf.h" #include "class-inl.h" #include "gc/heap-inl.h" #include "obj_ptr-inl.h" @@ -167,9 +168,9 @@ inline Array* Array::Alloc(Thread* self, #else // 32-bit. if (UNLIKELY(size == 0)) { - self->ThrowOutOfMemoryError(StringPrintf("%s of length %d would overflow", - array_class->PrettyDescriptor().c_str(), - component_count).c_str()); + self->ThrowOutOfMemoryError(android::base::StringPrintf("%s of length %d would overflow", + array_class->PrettyDescriptor().c_str(), + component_count).c_str()); return nullptr; } #endif |