summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qtimer.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-08-27 08:40:25 +0200
committerMarc Mutz <marc.mutz@qt.io>2024-08-28 23:03:01 +0000
commite0d93ed4908391c156f5f0f91eaef67f730f59bd (patch)
treede6d7b9aa3596bc34a83f3864ea77093301d1490 /src/corelib/kernel/qtimer.cpp
parent2d87bb7d2eb9827899546cca3e59e8174ce04b8c (diff)
QStringTokenizer: remove unused op==(it, it)
Its presence is a remnant of a time (Qt 5) when QStringTokenizer::sentinel could optionally be QStringTokenizer::iterator (for pre-C++17 code). Remove, since it a) compiles bad user code, b) acts as a bad c'n'p source for others and c) removes a nasty Q_ASSERT()-in-noexcept. [ChangeLog][Potentially Source-Incompatible Changes] The relational operators between QStringTokenizer::iterators have been removed. Correct code didn't need them since Qt 6.0, when QStringTokenizer::end() started returning ::sentinel instead of ::iterator unconditionally. You can still compare iterator and sentinel, just not iterator and iterator. Change-Id: I83d1dcac98b52526dabc6327cfd93956afd24e97 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions