From 9946e6f7dfe898bb73429d633da4639cd92bc5ae Mon Sep 17 00:00:00 2001 From: "Tang, Cheng" Date: Wed, 2 Jun 2021 08:01:43 -0700 Subject: [PATCH] fix broken tests (#7909) --- onnxruntime/test/eager/ort_invoker_test.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/onnxruntime/test/eager/ort_invoker_test.cc b/onnxruntime/test/eager/ort_invoker_test.cc index 732017cb4a..77fec4c853 100644 --- a/onnxruntime/test/eager/ort_invoker_test.cc +++ b/onnxruntime/test/eager/ort_invoker_test.cc @@ -11,9 +11,9 @@ namespace onnxruntime { namespace test { TEST(InvokerTest, Basic) { - std::unique_ptr cpu_execution_provider = onnxruntime::make_unique(CPUExecutionProviderInfo(false)); + std::unique_ptr cpu_execution_provider = std::make_unique(CPUExecutionProviderInfo(false)); const std::string logger_id{"InvokerTest"}; - auto logging_manager = onnxruntime::make_unique( + auto logging_manager = std::make_unique( std::unique_ptr{new logging::CLogSink{}}, logging::Severity::kVERBOSE, false, logging::LoggingManager::InstanceType::Default, @@ -44,9 +44,9 @@ TEST(InvokerTest, Basic) { } TEST(InvokerTest, Inplace) { - std::unique_ptr cpu_execution_provider = onnxruntime::make_unique(CPUExecutionProviderInfo(false)); + std::unique_ptr cpu_execution_provider = std::make_unique(CPUExecutionProviderInfo(false)); const std::string logger_id{"InvokerTest"}; - auto logging_manager = onnxruntime::make_unique( + auto logging_manager = std::make_unique( std::unique_ptr{new logging::CLogSink{}}, logging::Severity::kVERBOSE, false, logging::LoggingManager::InstanceType::Default,