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