diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-12-03 12:56:56 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-12-19 07:41:47 +0000 |
commit | 0f923a8ce45a0b9379bf0a43e68897a3a8333fda (patch) | |
tree | e7948faa4fcb23039becf5585a6e732599eef0ee /src/widgets/widgets/qwidgettextcontrol.cpp | |
parent | 90f79db90a8db5b872040346bd58a27140b6a7a3 (diff) |
QHash/QSet: add erase(const_iterator)
This is the signature the functions have in C++11. For the std
containers, this is just convenience, but for Qt containers
with their implicit sharing problem, the combination of erase()
with constFind() can delay a detach until absolutely necessary.
[ChangeLog][QtCore][QHash/QSet] Added erase(const_iterator).
Change-Id: I2fc841c664cd7515b0f56fd7210fcd17c37f9014
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/widgets/widgets/qwidgettextcontrol.cpp')
0 files changed, 0 insertions, 0 deletions