Skip to content

Commit

Permalink
Add Qt6 TODO to remove copy-assign operator and copy-ctor
Browse files Browse the repository at this point in the history
Change-Id: I5d80b272f31ada58d4eb7c19051fe447d6241633
Reviewed-by: Marc Mutz <[email protected]>
  • Loading branch information
iamsergio committed Jan 12, 2016
1 parent 1e15b42 commit e770728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/thread/qexception.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e770728

Please sign in to comment.