diff --git a/Source/Core/VideoCommon/AsyncShaderCompiler.h b/Source/Core/VideoCommon/AsyncShaderCompiler.h index fc0bca8d72..fabe264025 100644 --- a/Source/Core/VideoCommon/AsyncShaderCompiler.h +++ b/Source/Core/VideoCommon/AsyncShaderCompiler.h @@ -39,7 +39,7 @@ public: template static WorkItemPtr CreateWorkItem(Params&&... params) { - return std::unique_ptr(new T(std::forward(params)...)); + return std::make_unique(std::forward(params)...); } void QueueWorkItem(WorkItemPtr item);