diff options
Diffstat (limited to 'runtime/dex_file.cc')
| -rw-r--r-- | runtime/dex_file.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/dex_file.cc b/runtime/dex_file.cc index aa8fb38fca..7d704ad0cc 100644 --- a/runtime/dex_file.cc +++ b/runtime/dex_file.cc @@ -28,10 +28,11 @@ #include <sstream> #include <type_traits> +#include "android-base/stringprintf.h" + #include "base/enums.h" #include "base/file_magic.h" #include "base/logging.h" -#include "base/stringprintf.h" #include "base/systrace.h" #include "base/unix_file/fd_file.h" #include "dex_file-inl.h" @@ -45,6 +46,8 @@ namespace art { +using android::base::StringPrintf; + static_assert(sizeof(dex::StringIndex) == sizeof(uint32_t), "StringIndex size is wrong"); static_assert(std::is_trivially_copyable<dex::StringIndex>::value, "StringIndex not trivial"); static_assert(sizeof(dex::TypeIndex) == sizeof(uint16_t), "TypeIndex size is wrong"); |