From f2069990e4520ef25412ca1aa190d663a8047b46 Mon Sep 17 00:00:00 2001 From: Liu Minyue Date: Mon, 12 Aug 2024 01:33:52 -0600 Subject: [PATCH] lintrunner -a --- onnxruntime/core/providers/shared_library/provider_interfaces.h | 1 - onnxruntime/core/session/provider_bridge_ort.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/onnxruntime/core/providers/shared_library/provider_interfaces.h b/onnxruntime/core/providers/shared_library/provider_interfaces.h index 0f2f91c5611ab..bb44b169c81d4 100644 --- a/onnxruntime/core/providers/shared_library/provider_interfaces.h +++ b/onnxruntime/core/providers/shared_library/provider_interfaces.h @@ -507,7 +507,6 @@ struct ProviderHost { virtual const ONNX_NAMESPACE::ValueInfoProto& ValueInfoProtos__operator_array(const ONNX_NAMESPACE::ValueInfoProtos* p, int index) = 0; - // FunctionProto virtual std::unique_ptr FunctionProto__construct() = 0; virtual void FunctionProto__operator_delete(ONNX_NAMESPACE::FunctionProto* p) = 0; diff --git a/onnxruntime/core/session/provider_bridge_ort.cc b/onnxruntime/core/session/provider_bridge_ort.cc index d644a9d182ca0..3f9ec72f5c78d 100644 --- a/onnxruntime/core/session/provider_bridge_ort.cc +++ b/onnxruntime/core/session/provider_bridge_ort.cc @@ -624,7 +624,6 @@ struct ProviderHostImpl : ProviderHost { const ONNX_NAMESPACE::ValueInfoProto& ValueInfoProtos__operator_array(const ONNX_NAMESPACE::ValueInfoProtos* p, int index) override { return (*p)[index]; } - // FunctionProto (wrapped) std::unique_ptr FunctionProto__construct() override { return std::make_unique(); } void FunctionProto__operator_delete(ONNX_NAMESPACE::FunctionProto* p) override { delete p; }