diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-19 14:40:01 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-09-04 10:41:01 (GMT) |
commit | 2f3c0ff756234712dd87498216ce24d48c0725be (patch) | |
tree | d994565c2acfe5bba665c2fbe56233470005a15a /src/3rdparty | |
parent | 24fd67c58f7df76df570f5f7f3e28c007381da7d (diff) | |
download | Qt-2f3c0ff756234712dd87498216ce24d48c0725be.zip Qt-2f3c0ff756234712dd87498216ce24d48c0725be.tar.gz Qt-2f3c0ff756234712dd87498216ce24d48c0725be.tar.bz2 |
Fix compilation with xlC 7: operator-> must return a pointer-like type.
"webkit/JavaScriptCore/runtime/Protect.h", line 101.17: 1540-1196 (S) The return type cannot be "JSC::JSValue" because "class JSValue" does not have an "operator->" function.
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/webkit/JavaScriptCore/runtime/Protect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/Protect.h b/src/3rdparty/webkit/JavaScriptCore/runtime/Protect.h index 224164d..6e7984c 100644 --- a/src/3rdparty/webkit/JavaScriptCore/runtime/Protect.h +++ b/src/3rdparty/webkit/JavaScriptCore/runtime/Protect.h @@ -98,7 +98,7 @@ namespace JSC { JSValue get() const { return m_value; } operator JSValue() const { return m_value; } - JSValue operator->() const { return m_value; } + //JSValue operator->() const { return m_value; } operator bool() const { return m_value; } bool operator!() const { return !m_value; } |