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

Fixed an issue with a ReferenceCountedArray constructor

This commit is contained in:
Tom Poole 2018-07-16 17:14:26 +01:00
parent f1c71aa0d9
commit bc244b23de

View file

@ -81,7 +81,7 @@ public:
{
const typename ReferenceCountedArray<OtherObjectClass, OtherCriticalSection>::ScopedLockType lock (other.getLock());
values.addArray (other.values.begin(), other.values.size());
values.addArray (other.begin(), other.size());
for (auto* o : *this)
if (o != nullptr)