aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/v8/qscripttools_p.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2011-08-31 13:50:21 +0200
committerQt by Nokia <qt-info@nokia.com>2011-08-31 17:06:50 +0200
commit0f56ed1162ac8d5256692766edb47c49ea283e3c (patch)
treeee30c86bc6e436f7661cc15f48e077dcf927e0bf /src/declarative/qml/v8/qscripttools_p.h
parent463d765e6f7e77c921440bfe76fd246771192f8b (diff)
Fix build with Clang
We have to qualify calls to baseclass functions in templates. See: http://clang.llvm.org/compatibility.html#dep_lookup_bases Change-Id: If779f1789d269f20a0255d63b1a7d6b9fef0118e Reviewed-on: http://codereview.qt.nokia.com/3961 Reviewed-by: Kent Hansen <kent.hansen@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src/declarative/qml/v8/qscripttools_p.h')
-rw-r--r--src/declarative/qml/v8/qscripttools_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/v8/qscripttools_p.h b/src/declarative/qml/v8/qscripttools_p.h
index c8dace0b9f..a718691556 100644
--- a/src/declarative/qml/v8/qscripttools_p.h
+++ b/src/declarative/qml/v8/qscripttools_p.h
@@ -51,7 +51,7 @@ public:
template<class N, QIntrusiveListNode N::*member>
void QScriptIntrusiveList<N, member>::insert(N *n)
{
- Q_ASSERT_X(!contains(n), Q_FUNC_INFO, "Can't insert a value which is in the list already");
+ Q_ASSERT_X(!this->contains(n), Q_FUNC_INFO, "Can't insert a value which is in the list already");
Q_ASSERT_X(!(n->*member).isInList(), Q_FUNC_INFO, "Can't insert a value which is in another list");
QIntrusiveList<N, member>::insert(n);
}
@@ -59,7 +59,7 @@ void QScriptIntrusiveList<N, member>::insert(N *n)
template<class N, QIntrusiveListNode N::*member>
void QScriptIntrusiveList<N, member>::remove(N *n)
{
- Q_ASSERT_X(contains(n), Q_FUNC_INFO, "Can't remove a value which is not in the list");
+ Q_ASSERT_X(this->contains(n), Q_FUNC_INFO, "Can't remove a value which is not in the list");
QIntrusiveList<N, member>::remove(n);
}