From d5315a79b86df6350ed9ed2c90074e8fdae8ab4d Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Wed, 12 Aug 2009 11:14:14 +0200 Subject: remove erroneous operator==(int) --- src/3rdparty/webkit/JavaScriptCore/runtime/CallData.h | 1 - src/3rdparty/webkit/JavaScriptCore/runtime/ConstructData.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/CallData.h b/src/3rdparty/webkit/JavaScriptCore/runtime/CallData.h index 5e02945..f7117be 100644 --- a/src/3rdparty/webkit/JavaScriptCore/runtime/CallData.h +++ b/src/3rdparty/webkit/JavaScriptCore/runtime/CallData.h @@ -60,7 +60,6 @@ namespace JSC { } inline operator NativeFunction() const {return ptr;} inline operator bool() const {return ptr;} - inline bool operator==(int val) const {return (int)ptr==val;} JSValue operator()(ExecState* exec, JSObject* jsobj, JSValue thisValue, const ArgList& argList) const; }; diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/ConstructData.h b/src/3rdparty/webkit/JavaScriptCore/runtime/ConstructData.h index be49e68..af720bb 100644 --- a/src/3rdparty/webkit/JavaScriptCore/runtime/ConstructData.h +++ b/src/3rdparty/webkit/JavaScriptCore/runtime/ConstructData.h @@ -64,7 +64,6 @@ namespace JSC { } inline operator NativeConstructor() const {return ptr;} inline operator bool() const {return ptr;} - inline bool operator==(int val) const {return (int)ptr==val;} inline void doNotCallDebuggerFunctionExit() {callDebuggerFunctionExit = false;} JSObject* operator()(ExecState*, JSObject*, const ArgList&) const; -- cgit v0.12