summaryrefslogtreecommitdiffstats
path: root/examples/network/threadedfortuneserver/fortunethread.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2020-02-24 17:23:06 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2020-02-26 10:09:44 +0100
commitf949f336888c7205d06b56073805e201246fae9c (patch)
tree591130f1aa136ee03fa64bbb936aedfced7bc2be /examples/network/threadedfortuneserver/fortunethread.cpp
parent23c5fc1d2fa9d9ff51129280288d13c935105b10 (diff)
QHash/QSet: Base iterator tag on warning version rather than deprecation
If you have deprecation warning version set to 5.15 and the "disable deprecated before" set to something lower then it will complain about usage of operator-- inside std::distance which is used in our generic collection iterator. This also required changing over to the QT_DEPRECATED_VERSION_5_15 macro so that the deprecation warning would also be disabled. This is a possible work-around - change the iterator tag if it would trigger a warning. Fixes: QTBUG-82397 Change-Id: I3e0ecae5edebba2a3560e7c3785bd9d1a6d0076d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/network/threadedfortuneserver/fortunethread.cpp')
0 files changed, 0 insertions, 0 deletions