Review Request 124012: Replace cacheIterator with Iterator Returned from erase

David Narváez david.narvaez at computer.org
Fri Jun 5 15:28:55 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124012/
-----------------------------------------------------------

(Updated June 5, 2015, 3:28 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDevelop.


Changes
-------

Submitted with commit 55847dc0b173218b567568e90dba7e63359d223e by David E. Narvaez to branch master.


Repository: kdevplatform


Description
-------

It's in general a bad idea to keep iterators to modified containers. In
particular, this was causing a crash in a very strange corner case I did
not fully understand, but this change fixed it.


Diffs
-----

  project/projectbuildsetmodel.cpp 64a50afb815eb2cbbe2ae1e1ee6d808df3927135 

Diff: https://git.reviewboard.kde.org/r/124012/diff/


Testing
-------

The crash used to happen when I was removing stuff from my build set, but I don't really know how to reproduce it properly.


Thanks,

David Narváez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150605/7a316b43/attachment.html>


More information about the KDevelop-devel mailing list