summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-12 09:14:14 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-08-12 09:14:14 (GMT)
commitd5315a79b86df6350ed9ed2c90074e8fdae8ab4d (patch)
tree02db7b9139343873ef663fd07c1a5074902e22ea
parent88adeb7d8d69ebaeadf8806108f032ee57b17276 (diff)
downloadQt-d5315a79b86df6350ed9ed2c90074e8fdae8ab4d.zip
Qt-d5315a79b86df6350ed9ed2c90074e8fdae8ab4d.tar.gz
Qt-d5315a79b86df6350ed9ed2c90074e8fdae8ab4d.tar.bz2
remove erroneous operator==(int)
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/CallData.h1
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/ConstructData.h1
2 files changed, 0 insertions, 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;