From b9525036d0dd3cc45872304853f9ffc4505f8792 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9D=B4=EC=83=81=EA=B7=9C/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 5 Sep 2019 18:06:06 +0900 Subject: [PATCH] [cusop] replace new with make_shared (#7211) custom::KernelRegistry will be created with make_shared. Signed-off-by: Sanggyu Lee --- runtimes/neurun/frontend/api/wrapper/nnfw_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtimes/neurun/frontend/api/wrapper/nnfw_api.cc b/runtimes/neurun/frontend/api/wrapper/nnfw_api.cc index 64819ec..5add5e6 100644 --- a/runtimes/neurun/frontend/api/wrapper/nnfw_api.cc +++ b/runtimes/neurun/frontend/api/wrapper/nnfw_api.cc @@ -28,7 +28,7 @@ nnfw_session::nnfw_session() : _graph{nullptr}, _execution{nullptr}, - _kernel_registry{new neurun::backend::custom::KernelRegistry} + _kernel_registry{std::make_shared()} { // DO NOTHING } -- 2.7.4