From af8fe0f98004635e105fa5031f1c3de8381e86b4 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Tue, 8 Oct 2019 18:32:08 -0700 Subject: [PATCH] Replace make_unique in cuda_utils.cu (#2052) --- onnxruntime/core/providers/cuda/cuda_utils.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/cuda/cuda_utils.cu b/onnxruntime/core/providers/cuda/cuda_utils.cu index dfebc914d7..5dc61cfa18 100644 --- a/onnxruntime/core/providers/cuda/cuda_utils.cu +++ b/onnxruntime/core/providers/cuda/cuda_utils.cu @@ -61,7 +61,7 @@ class ConstantBufferImpl : public IConstantBuffer { template std::unique_ptr> CreateConstantOnes() { - return std::make_unique>(Consts::One); + return onnxruntime::make_unique>(Consts::One); } template std::unique_ptr> CreateConstantOnes();