From 282cf3dac4053fcede9bdf5a80218350ac8e5dac Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 2 Jul 2013 21:52:48 +0100 Subject: [PATCH] constness fix in OwnedArray. --- modules/juce_core/containers/juce_OwnedArray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/containers/juce_OwnedArray.h b/modules/juce_core/containers/juce_OwnedArray.h index f57dfb9a23..9b2fb595b1 100644 --- a/modules/juce_core/containers/juce_OwnedArray.h +++ b/modules/juce_core/containers/juce_OwnedArray.h @@ -350,7 +350,7 @@ public: @param newObject the new object to add to the array */ - void addIfNotAlreadyThere (const ObjectClass* const newObject) noexcept + void addIfNotAlreadyThere (ObjectClass* const newObject) noexcept { const ScopedLockType lock (getLock());