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,