diff --git a/Subtrees/beast/modules/beast_core/containers/beast_OwnedArray.h b/Subtrees/beast/modules/beast_core/containers/beast_OwnedArray.h index ecbea526fc..e63ff92719 100644 --- a/Subtrees/beast/modules/beast_core/containers/beast_OwnedArray.h +++ b/Subtrees/beast/modules/beast_core/containers/beast_OwnedArray.h @@ -342,7 +342,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());