diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-10-13 01:50:45 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-10-15 10:19:17 +0200 |
commit | ad972af8fb771129b6db69dbb13855021d14e2fe (patch) | |
tree | 67f6df15eeaf053a7cbc061e6a28f1a29667ba91 /src/plugins | |
parent | be3df082bc965bf1206c6694c6bc0e2245fbce91 (diff) |
QList: add mixed comparison operators between (const_)iterators
It is currently possible to compare a QList iterator with a
const_iterator and viceversa, even though these operations aren't
defined, because they are actually routed through the relational
operators between iterators and raw pointers after a conversion (!).
With the deprecation of iterator->pointer implicit conversions, this
is going to break, so add the missig mixed comparison operators.
Change-Id: Ic645ab0246f79f64b04334ecd02e9fe8fa46f0fa
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions