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]); }