-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just like the _X-less versions, but with the possibility of supplying a message, for instance: class Obj : public QObject { Q_DISABLE_COPY_MOVE_X("This class has identity semantics"); }; class Manager { Q_DISABLE_COPY_X("This class manages a resource, so copy is not supported, use a move instead"); }; [ChangeLog][QtCore][QtGlobal] Added the Q_DISABLE_COPY_X and Q_DISABLE_COPY_MOVE_X macros. Change-Id: I9eda2356ea37ead6764eafcb6a13800dbfdf7721 Reviewed-by: Thiago Macieira <[email protected]>
- Loading branch information
Showing
2 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters