diff options
author | 2021-11-30 10:36:13 +0000 | |
---|---|---|
committer | 2021-11-30 13:07:53 +0000 | |
commit | 05ed65a384242c6801e4d901db8b87ff7236cf3a (patch) | |
tree | c84a7455e526bf80d919544ee2f140d39f198d1e /runtime/entrypoints/entrypoint_utils-inl.h | |
parent | 254a858ef4f65728f636443b8f9ca3e84310308b (diff) |
Add std::noboolalpha to InlineInfo dumps
std::boolalpha can persist in the stream, so we explicitly pass
std::noboolalpha to avoid unintended boolalpha prints.
Tests: ART tests
Change-Id: I57e29c386868676bd19107cabfe6c313a15ce689
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils-inl.h')
-rw-r--r-- | runtime/entrypoints/entrypoint_utils-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/entrypoints/entrypoint_utils-inl.h b/runtime/entrypoints/entrypoint_utils-inl.h index d3370afb50..b36c5c3c96 100644 --- a/runtime/entrypoints/entrypoint_utils-inl.h +++ b/runtime/entrypoints/entrypoint_utils-inl.h @@ -96,7 +96,7 @@ inline std::string GetResolvedMethodErrorString(ClassLinker* class_linker, << static_cast<const void*>(outer_method->GetDexFile()) << "). MethodInfo: method_index=" << std::dec << method_index << ", is_in_bootclasspath=" << std::boolalpha - << (method_info.GetDexFileIndexKind() == MethodInfo::kKindBCP) + << (method_info.GetDexFileIndexKind() == MethodInfo::kKindBCP) << std::noboolalpha << ", dex_file_index=" << std::dec << method_info.GetDexFileIndex() << "."; return error_ss.str(); } |