Files
lmms/plugins
Fastigium 3c7bfbac64 Replace every use of the foreach macro with a C++11 range-based for loop
This prevents a race condition with Qt5. A foreach loop makes a copy of its
Qt container, increasing the reference count to the container's internal
data. Qt5 often asserts isDetached(), which requires the reference count to
be <= 1. This assertion fails when the foreach loop increases the reference
count at exactly the wrong moment. Using a range-based for loop prevents an
unnecessary copy from being made and ensures this race condition isn't
triggered.
2016-03-13 16:09:50 +01:00
..
2014-12-24 19:59:12 +02:00
2016-02-21 00:10:44 -06:00
2015-10-30 22:53:28 +01:00
2015-11-24 01:53:50 +00:00
2014-12-16 23:12:02 +02:00
2014-11-26 10:39:02 +01:00
2015-04-26 16:59:01 +03:00
2016-02-23 01:08:52 -05:00