]> git.saurik.com Git - android/aapt.git/blobdiff - StringPool.h
Use quicksort to sort the string pool.
[android/aapt.git] / StringPool.h
index 060dc6811c8bba5a4ff07821135a6e1b0f96bd06..d5010086b2928a55adad08884c6d98ddbdd29e48 100644 (file)
@@ -139,7 +139,7 @@ public:
     const Vector<size_t>* offsetsForString(const String16& val) const;
 
 private:
     const Vector<size_t>* offsetsForString(const String16& val) const;
 
 private:
-    static int config_sort(const size_t* lhs, const size_t* rhs, void* state);
+    static int config_sort(void* state, const void* lhs, const void* rhs);
 
     const bool                              mUTF8;
 
 
     const bool                              mUTF8;