diff options
author | 2016-12-14 10:11:49 -0800 | |
---|---|---|
committer | 2016-12-15 09:50:39 -0800 | |
commit | 46ee31b67d7ee1bd085fbc240502053caa3cf8fa (patch) | |
tree | 83e870f293cd60d533207e389d7b094acd87b31f /patchoat/patchoat.cc | |
parent | 9538f9e2a5d03f1b1bc07ebfbd93b61dcf8ad604 (diff) |
ART: Move to libbase StringPrintf
Remove ART's StringPrintf implementation. Fix up clients. Add
missing includes where necessary.
Test: m test-art-host
Change-Id: I564038d5868595ac3bb88d641af1000cea940e5a
Diffstat (limited to 'patchoat/patchoat.cc')
-rw-r--r-- | patchoat/patchoat.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc index 62d1ddff75..7ae13a574b 100644 --- a/patchoat/patchoat.cc +++ b/patchoat/patchoat.cc @@ -24,6 +24,7 @@ #include <string> #include <vector> +#include "android-base/stringprintf.h" #include "android-base/strings.h" #include "art_field-inl.h" @@ -31,7 +32,6 @@ #include "base/dumpable.h" #include "base/scoped_flock.h" #include "base/stringpiece.h" -#include "base/stringprintf.h" #include "base/unix_file/fd_file.h" #include "base/unix_file/random_access_file_utils.h" #include "elf_utils.h" @@ -939,7 +939,7 @@ static std::string CommandLine() { static void UsageErrorV(const char* fmt, va_list ap) { std::string error; - StringAppendV(&error, fmt, ap); + android::base::StringAppendV(&error, fmt, ap); LOG(ERROR) << error; } |