diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-08-03 09:06:50 +0300 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-08-09 07:36:26 +0000 |
commit | 3ed21726ecad6fad0d3fff40b96aa44aa8f85229 (patch) | |
tree | 6e313ac41eeae3f82fccf9a9db3a822b45a16494 /examples/widgets/tools | |
parent | 9c891bead8c14af0aa2fd10f74275e35af87b16c (diff) |
Give some TLC to QAppleRefCounted
- add conditional noexcept to move special member functions
- use qExchange() in the move ctor implementation (turns a copy into a move)
- separate the default ctor from the ctor that acquires a resource, then
- overload the latter for rvalue payloads
Change-Id: I6816143a94fe6a74cf0d02569b83a752a8da3089
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/widgets/tools')
0 files changed, 0 insertions, 0 deletions