1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added assertions to Array to catch situations where a reference to a member is passed into an add() method. Also changed the form of StringArray method params to avoid this problem.

This commit is contained in:
jules 2018-08-13 10:22:23 +01:00
parent 8317738112
commit e26049f141
5 changed files with 38 additions and 18 deletions

View file

@ -209,6 +209,7 @@ private:
jassert (delimiter.isNotEmpty());
StringArray elements;
for (auto& v : input)
elements.add (v.toString());