aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/masm/stubs/wtf/PassOwnPtr.h4
-rw-r--r--src/3rdparty/masm/stubs/wtf/PassRefPtr.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/3rdparty/masm/stubs/wtf/PassOwnPtr.h b/src/3rdparty/masm/stubs/wtf/PassOwnPtr.h
index 21436b0bec..0e18132f77 100644
--- a/src/3rdparty/masm/stubs/wtf/PassOwnPtr.h
+++ b/src/3rdparty/masm/stubs/wtf/PassOwnPtr.h
@@ -101,8 +101,8 @@ public:
private:
template <typename PtrType> friend PassOwnPtr<PtrType> adoptPtr(PtrType*);
- PassOwnPtr<T>& operator=(const PassOwnPtr<T>&)
- {}
+ PassOwnPtr<T>& operator=(const PassOwnPtr<T>& t);
+
mutable QScopedPointer<T> m_ptr;
};
diff --git a/src/3rdparty/masm/stubs/wtf/PassRefPtr.h b/src/3rdparty/masm/stubs/wtf/PassRefPtr.h
index 1a837464fa..f072e70dd7 100644
--- a/src/3rdparty/masm/stubs/wtf/PassRefPtr.h
+++ b/src/3rdparty/masm/stubs/wtf/PassRefPtr.h
@@ -81,8 +81,7 @@ public:
}
private:
- PassRefPtr<T>& operator=(const PassRefPtr<T>&)
- {}
+ PassRefPtr<T>& operator=(const PassRefPtr<T>& t);
template <typename PtrType> friend PassRefPtr<PtrType> adoptRef(PtrType*);
mutable T* m_ptr;