X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/0482072a2949dd97cf6bd9be85381465e5dc4ab8..efd689d86ad25be72d38cf012d90ffe0203850d1:/Execute.cpp diff --git a/Execute.cpp b/Execute.cpp index 70751a4..c871ef5 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -1464,7 +1464,7 @@ static JSValueRef Type_callAsFunction_toString(JSContextRef context, JSObjectRef static JSValueRef Type_callAsFunction_toCYON(JSContextRef context, JSObjectRef object, JSObjectRef _this, size_t count, const JSValueRef arguments[], JSValueRef *exception) { CYTry { Type_privateData *internal(reinterpret_cast(JSObjectGetPrivate(_this))); CYLocalPool pool; - std::ostringstream out; + std::stringbuf out; CYOptions options; CYOutput output(out, options); (new(pool) CYEncodedType(Decode(pool, internal->type_)))->Output(output, CYNoFlags);