D28497: Use non-const iterators

Marco Martin noreply at phabricator.kde.org
Thu Apr 2 09:10:28 BST 2020


mart created this revision.
mart added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
mart requested review of this revision.

REVISION SUMMARY
  on some GCC (here 7.5.0) it complains when one tries to reassign an
  iterator that was obtained via const_find, using find() using a
  mutable iterator makes it build fine

TEST PLAN
  Builds, behavior not changed

REPOSITORY
  R111 KSysguard Library

BRANCH
  phab/constIt

REVISION DETAIL
  https://phabricator.kde.org/D28497

AFFECTED FILES
  processcore/extended_process_list.cpp

To: mart, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200402/a6830b12/attachment.html>


More information about the Plasma-devel mailing list