Replace make_unique in cuda_utils.cu (#2052)

This commit is contained in:
Changming Sun 2019-10-08 18:32:08 -07:00 committed by GitHub
parent db0dd09ded
commit af8fe0f980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ class ConstantBufferImpl : public IConstantBuffer<T> {
template <typename T>
std::unique_ptr<IConstantBuffer<T>> CreateConstantOnes() {
return std::make_unique<ConstantBufferImpl<T>>(Consts<T>::One);
return onnxruntime::make_unique<ConstantBufferImpl<T>>(Consts<T>::One);
}
template std::unique_ptr<IConstantBuffer<float>> CreateConstantOnes<float>();