mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-08 00:23:03 +00:00
Make classes IKernelTypeStrResolver and IKernelLookup have protected destructors. (#13059)
This commit is contained in:
parent
2ef1f8b93e
commit
5f611b63a1
2 changed files with 6 additions and 0 deletions
|
|
@ -99,6 +99,9 @@ class IExecutionProvider {
|
|||
* The return value is non-null if and only if a matching kernel was found.
|
||||
*/
|
||||
virtual const KernelCreateInfo* LookUpKernel(const Node& node) const = 0;
|
||||
|
||||
protected:
|
||||
~IKernelLookup() = default;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -51,6 +51,9 @@ class IKernelTypeStrResolver {
|
|||
*/
|
||||
virtual Status ResolveKernelTypeStr(const Node& node, std::string_view kernel_type_str,
|
||||
gsl::span<const ArgTypeAndIndex>& resolved_args) const = 0;
|
||||
|
||||
protected:
|
||||
~IKernelTypeStrResolver() = default;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue