Commit 07b6bb6
authored
Disambiguate the winml OrtModel with the model editing API OrtModel. (microsoft#24474)
### Description
<!-- Describe your changes. -->
Use a pimpl-esque approach so that the winml OrtModel type doesn't
conflict with the model editing API OrtModel.
### 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. -->
Fix crash due to linker calling the incorrect destructor when there are
two different OrtModel types in the global namespace.1 parent 0d26928 commit 07b6bb6
File tree
4 files changed
+94
-52
lines changed- onnxruntime/core/framework
- winml/adapter
4 files changed
+94
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | 229 | | |
232 | 230 | | |
233 | 231 | | |
| |||
0 commit comments