From 106ba6a020765b27d260024b67816e6196d50008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Wed, 23 Jun 2021 08:34:33 +0200 Subject: [PATCH] fix SharedPtr::makeSharedArray() [merge from devel] --- Foundation/include/Poco/SharedPtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation/include/Poco/SharedPtr.h b/Foundation/include/Poco/SharedPtr.h index 4da53f34c..30553f7b6 100644 --- a/Foundation/include/Poco/SharedPtr.h +++ b/Foundation/include/Poco/SharedPtr.h @@ -480,7 +480,7 @@ SharedPtr makeShared(Args&&... args) template SharedPtr> makeSharedArray(std::size_t size) { - return new SharedPtr>(new T[size]); + return SharedPtr>(new T[size]); }