Browse Source

Fixed an issue with a ReferenceCountedArray constructor

tags/2021-05-28
Tom Poole 7 years ago
parent
commit
bc244b23de
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/containers/juce_ReferenceCountedArray.h

+ 1
- 1
modules/juce_core/containers/juce_ReferenceCountedArray.h 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)


Loading…
Cancel
Save