X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/09eee478cd3085633d87ddc8a7997ff3d000102e..6a9812501258df26b7c487e50744b91abe8ebe39:/Execute.cpp?ds=sidebyside diff --git a/Execute.cpp b/Execute.cpp index a517fb4..1382769 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -181,14 +181,6 @@ void CYFinalize(JSObjectRef object) { delete reinterpret_cast(JSObjectGetPrivate(object)); } -struct CStringMapLess : - std::binary_function -{ - _finline bool operator ()(const char *lhs, const char *rhs) const { - return strcmp(lhs, rhs) < 0; - } -}; - void Structor_(apr_pool_t *pool, sig::Type *&type) { if ( type->primitive == sig::pointer_P && @@ -288,7 +280,7 @@ struct Struct_privateData : } }; -typedef std::map TypeMap; +typedef std::map TypeMap; static TypeMap Types_; JSObjectRef CYMakeStruct(JSContextRef context, void *data, sig::Type *type, ffi_type *ffi, JSObjectRef owner) {