summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qscopedpointer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qscopedpointer.h')
-rw-r--r--src/corelib/tools/qscopedpointer.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/corelib/tools/qscopedpointer.h b/src/corelib/tools/qscopedpointer.h
index dba37dae23..dd6e5bd57b 100644
--- a/src/corelib/tools/qscopedpointer.h
+++ b/src/corelib/tools/qscopedpointer.h
@@ -109,19 +109,6 @@ public:
Cleanup::cleanup(oldD);
}
-#ifdef Q_COMPILER_RVALUE_REFS
- inline QScopedPointer(QScopedPointer<T, Cleanup> &&other)
- : d(other.take())
- {
- }
-
- inline QScopedPointer<T, Cleanup> &operator=(QScopedPointer<T, Cleanup> &&other)
- {
- reset(other.take());
- return *this;
- }
-#endif
-
inline T &operator*() const
{
Q_ASSERT(d);