From 53674983e0f2c45e9bdf3eb07edf9a3823644ac3 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Fri, 21 Oct 2011 13:59:45 +0200 Subject: Compile with clang When using methods from a template base class, the lookup needs to be qualified. See http://clang.llvm.org/compatibility.html#dep_lookup_bases Change-Id: I5b7cd71e0d45414ac0eff97fe9ba5d3ccd5bd9e6 Reviewed-by: Robin Burchell Reviewed-by: Thiago Macieira (Intel) Reviewed-by: Olivier Goffart --- src/corelib/thread/qatomic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/thread/qatomic.h b/src/corelib/thread/qatomic.h index 515e3c5dc2..6fe4d65832 100644 --- a/src/corelib/thread/qatomic.h +++ b/src/corelib/thread/qatomic.h @@ -153,14 +153,14 @@ public: #ifdef QT_ARCH_PARISC this->_q_lock[0] = this->_q_lock[1] = this->_q_lock[2] = this->_q_lock[3] = -1; #endif - store(value); + this->store(value); } inline QAtomicPointer(const QAtomicPointer &other) { #ifdef QT_ARCH_PARISC this->_q_lock[0] = this->_q_lock[1] = this->_q_lock[2] = this->_q_lock[3] = -1; #endif - store(other.load()); + this->store(other.load()); } inline QAtomicPointer &operator=(T *value) -- cgit v1.2.3