summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qexception.h
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2016-01-12 00:21:26 +0000
committerSérgio Martins <iamsergio@gmail.com>2016-01-12 23:52:35 +0000
commite770728a336d3218ad8b13c04bbea3324d241b48 (patch)
tree7ab8a505dac60881a39ebc9981e674c78ed86dbd /src/corelib/thread/qexception.h
parent1e15b428b59c3134a0f584bfb303e95d0682e45d (diff)
Add Qt6 TODO to remove copy-assign operator and copy-ctor
Change-Id: I5d80b272f31ada58d4eb7c19051fe447d6241633 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/thread/qexception.h')
-rw-r--r--src/corelib/thread/qexception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qexception.h b/src/corelib/thread/qexception.h
index b15ae5095a..dc988f9020 100644
--- a/src/corelib/thread/qexception.h
+++ b/src/corelib/thread/qexception.h
@@ -86,7 +86,7 @@ class Q_CORE_EXPORT ExceptionHolder
public:
ExceptionHolder(QException *exception = Q_NULLPTR);
ExceptionHolder(const ExceptionHolder &other);
- void operator=(const ExceptionHolder &other);
+ void operator=(const ExceptionHolder &other); // ### Qt6: copy-assign operator shouldn't return void. Remove this method and the copy-ctor, they are unneeded.
~ExceptionHolder();
QException *exception() const;
QExplicitlySharedDataPointer<Base> base;