From d0f116b619feede0cfdb647157ce5ab4d50a1c46 Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Fri, 8 Jul 2016 15:00:32 -0700 Subject: AAPT2: Remove usage of u16string For legacy reasons, we kept around the use of UTF-16 internally in AAPT2. We don't need this and this CL removes all instances of std::u16string and StringPiece16. The only places still needed are when interacting with the ResTable APIs that only operate in UTF16. Change-Id: I492475b84bb9014fa13bf992cff447ee7a5fe588 --- tools/aapt2/Flags.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/aapt2/Flags.cpp') diff --git a/tools/aapt2/Flags.cpp b/tools/aapt2/Flags.cpp index 666e8a8efff1..2033a4ce45dc 100644 --- a/tools/aapt2/Flags.cpp +++ b/tools/aapt2/Flags.cpp @@ -101,7 +101,7 @@ void Flags::usage(const StringPiece& command, std::ostream* out) { // Split the description by newlines and write out the argument (which is empty after // the first line) followed by the description line. This will make sure that multiline // descriptions are still right justified and aligned. - for (StringPiece line : util::tokenize(flag.description, '\n')) { + for (StringPiece line : util::tokenize(flag.description, '\n')) { *out << " " << std::setw(kWidth) << std::left << argLine << line << "\n"; argLine = " "; } -- cgit v1.2.3-59-g8ed1b