diff options
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/threadpool/threadpool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/threadpool/threadpool.cxx b/cppu/source/threadpool/threadpool.cxx index 457ff94a73ad..d80607507bd3 100644 --- a/cppu/source/threadpool/threadpool.cxx +++ b/cppu/source/threadpool/threadpool.cxx @@ -49,7 +49,7 @@ namespace cppu_threadpool public rtl::StaticWithInit< DisposedCallerAdminHolder, theDisposedCallerAdmin > { DisposedCallerAdminHolder operator () () { - return DisposedCallerAdminHolder(new DisposedCallerAdmin()); + return std::make_shared<DisposedCallerAdmin>(); } }; |