diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2016-11-09 17:40:14 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2017-01-10 08:29:19 +0000 |
commit | a35a01aaa2aa4d3ba8d3c619ec2d18fcc4a6ad2f (patch) | |
tree | a7be47c0c5a24341bdc12de792142257a06cde3f /configure.json | |
parent | b2173b54ef9ede85d88cb0fdf025b26e732ed44a (diff) |
QForeachContainer: make it a move-only type
Honor the rule of five. Copy assignment was already disabled.
Disable also copy construction, but re-enable the move special
member functions.
This requires making the container non-const; to avoid detaches
and keep compatibility with containers that only have begin/end
(but not cbegin/cend), use qAsConst. This requires moving qAsConst
definition a bit up in the file.
Change-Id: I19cd74437cf69baceada9483920a21e96d7b1727
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'configure.json')
0 files changed, 0 insertions, 0 deletions