onnxruntime
2de15c5d - Re-work OrtApi struct to satisfy C++20 compilers (#15183)

Commit
2 years ago
Re-work OrtApi struct to satisfy C++20 compilers (#15183) ### Description <!-- Describe your changes. --> Remove `deletion` of copy functions from `OrtApi` as its initialization no longer compiles in C++20. Introduce a non-copyable member to implicitly delete copy ctor. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Inspired by https://github.com/microsoft/onnxruntime/pull/14901 Solution credits: @RyanUnderhill Cc: @georgthegreat
Author
Parents
Loading