diff --git a/onnxruntime/core/providers/shared_library/provider_api.h b/onnxruntime/core/providers/shared_library/provider_api.h index 5697fef8b1..515b73b87d 100644 --- a/onnxruntime/core/providers/shared_library/provider_api.h +++ b/onnxruntime/core/providers/shared_library/provider_api.h @@ -12,6 +12,10 @@ #include "core/providers/common.h" #include "core/providers/cpu/tensor/onehot.h" #include "core/providers/cpu/tensor/gather_elements.h" + +template +using DeleteOnUnloadPtr = std::unique_ptr; + #else #define SHARED_PROVIDER 1