summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qtimer.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-09-02 15:55:21 +0200
committerMarc Mutz <marc.mutz@qt.io>2024-09-03 09:51:01 +0200
commitfd89fc8c27460e2c11d9e3decc38cf61c186f984 (patch)
tree7056f1351ad1dbad8de447d90fd6ea655b95a4a1 /src/corelib/kernel/qtimer.cpp
parent0ede7f541dfc6cba163e1452aee7239818a42c1b (diff)
Make QDirListing::const_iterator post-increment return void
std::weakly_incrementable doesn't require a std::input_iterator's post-increment operator to return anything¹, so don't. ¹ https://eel.is/c++draft/iterator.concepts#iterator.concept.winc-14 The return value of post-increment on objects that model input_iterator is partially-formed (as a copy of an iterator since advanced), so any attempts to use it, apart from assigning a new iterator or destroying it, are undefined, anyway. Found in API-review. Pick-to: 6.8 Change-Id: If0c07250cec4e48c6e5176cd23864651e8ec3d27 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions