Files
lmms/include
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-11-25 11:25:30 +01:00
2015-06-21 15:41:26 +02:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-12-27 11:46:19 +02:00
2014-11-25 11:25:30 +01:00
2015-09-13 20:48:53 -07:00
2014-11-25 11:25:30 +01:00
2015-01-23 02:38:17 +00:00
2015-01-22 16:28:41 +01:00
2015-01-12 20:33:03 -08:00
2015-01-22 16:28:41 +01:00
2014-11-25 11:25:30 +01:00
2016-03-06 18:23:35 +01:00
2015-01-22 16:28:41 +01:00
2014-11-26 00:49:55 +01:00
2014-11-10 19:26:59 +01:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-12-22 14:45:17 +02:00
2016-03-03 17:36:38 +13:00
2015-01-22 16:28:41 +01:00
2016-03-03 17:36:38 +13:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 11:45:55 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-10 19:26:59 +01:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2015-01-23 05:35:59 -02:00
2015-01-22 16:28:41 +01:00
2014-11-25 11:25:30 +01:00
2016-02-13 09:24:10 +13:00
2014-11-10 19:26:59 +01:00
2016-03-06 18:23:35 +01:00
2014-11-28 00:35:14 +02:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2015-01-22 16:28:41 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:09:49 +01:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:09:49 +01:00
2008-07-22 11:36:50 +00:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:09:49 +01:00
2014-11-26 10:09:49 +01:00
2014-11-10 19:26:59 +01:00
2014-12-04 17:16:50 +01:00
2016-03-02 07:25:19 +01:00
2015-01-22 16:28:41 +01:00
2014-11-25 21:23:57 +02:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-10 19:26:59 +01:00
2014-11-18 13:58:36 +02:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2016-03-06 18:23:35 +01:00
2015-06-21 15:41:26 +02:00
2014-11-28 00:35:14 +02:00
2015-01-22 16:28:41 +01:00
2015-01-22 16:28:41 +01:00
2014-11-26 10:09:49 +01:00
2015-01-22 16:28:41 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2015-03-21 11:53:00 +01:00
2014-11-25 11:25:30 +01:00
2014-11-28 03:19:21 +02:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2016-03-02 07:25:19 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:39:02 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 11:03:35 +01:00
2014-11-26 11:03:35 +01:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:09:49 +01:00
2015-06-21 15:41:26 +02:00
2014-11-10 19:26:59 +01:00
2014-12-07 11:53:32 +01:00
2014-11-25 11:25:30 +01:00
2014-11-25 11:25:30 +01:00
2014-11-26 10:09:49 +01:00
2014-11-25 11:25:30 +01:00
2014-11-18 13:58:36 +02:00
2015-03-05 13:56:44 -05:00
2014-11-25 11:25:30 +01:00