1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Removed an incorrect assertion.

This commit is contained in:
jules 2013-09-26 16:45:39 +01:00
parent 8809efcb7a
commit 81c87652db

View file

@ -180,7 +180,6 @@ public:
inline ObjectClass* getObjectPointer (const int index) const noexcept
{
const ScopedLockType lock (getLock());
jassert (isPositiveAndBelow (index, numUsed));
return isPositiveAndBelow (index, numUsed) ? data.elements [index]
: nullptr;
}