From ec672b939b98a70898bacb8412fe82ce2bc842b2 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 2 Jul 2013 14:37:35 -0700 Subject: [PATCH] constness fix in OwnedArray --- Subtrees/beast/modules/beast_core/containers/beast_OwnedArray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());