X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/ff618d5a3ab8c4854727be2b49cee98bf4c9da3c..84ec604578bca4755c559149c5e304a9a159f3c9:/ResourceTable.cpp diff --git a/ResourceTable.cpp b/ResourceTable.cpp index df6abe8..0195727 100644 --- a/ResourceTable.cpp +++ b/ResourceTable.cpp @@ -2598,7 +2598,7 @@ status_t ResourceTable::flatten(Bundle* bundle, const sp& dest) // Iterate through all data, collecting all values (strings, // references, etc). - StringPool valueStrings = StringPool(false, useUTF8); + StringPool valueStrings(useUTF8); Vector > allEntries; for (pi=0; pi p = mOrderedPackages.itemAt(pi); @@ -2607,8 +2607,8 @@ status_t ResourceTable::flatten(Bundle* bundle, const sp& dest) continue; } - StringPool typeStrings = StringPool(false, useUTF8); - StringPool keyStrings = StringPool(false, useUTF8); + StringPool typeStrings(useUTF8); + StringPool keyStrings(useUTF8); const size_t N = p->getOrderedTypes().size(); for (size_t ti=0; ti