X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/fb9204d5c854f5149ee0da86b729b9d5d8c5b194..c1824872179c925f33918a408b17a0e1b2f4c415:/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