onnxruntime
da57c0a7 - Add protected destructor to Provider structure (#14152)

Commit
2 years ago
Add protected destructor to Provider structure (#14152) ### Description Add protected destructor so that any inherited classes can't accidentally be deleted through a pointer to the base. Fixes this prefast warning: The type 'struct onnxruntime::CUDA_Provider' with a virtual function needs either public virtual or protected non-virtual destructor (c.35). Internal bug 8999
Author
Parents
Loading