11/*
22 *
3- * Copyright (C) 2023-2024 Intel Corporation
3+ * Copyright (C) 2023-2025 Intel Corporation
44 *
55 * Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
66 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -67,7 +67,7 @@ umf_result_t initialize(T *obj, ArgsTuple &&args) {
6767
6868template <typename T> umf_memory_pool_ops_t poolOpsBase () {
6969 umf_memory_pool_ops_t ops{};
70- ops.version = UMF_VERSION_CURRENT ;
70+ ops.version = UMF_POOL_OPS_VERSION_CURRENT ;
7171 ops.finalize = [](void *obj) { delete reinterpret_cast <T *>(obj); };
7272 UMF_ASSIGN_OP (ops, T, malloc, ((void *)nullptr ));
7373 UMF_ASSIGN_OP (ops, T, calloc, ((void *)nullptr ));
@@ -81,7 +81,7 @@ template <typename T> umf_memory_pool_ops_t poolOpsBase() {
8181
8282template <typename T> constexpr umf_memory_provider_ops_t providerOpsBase () {
8383 umf_memory_provider_ops_t ops{};
84- ops.version = UMF_VERSION_CURRENT ;
84+ ops.version = UMF_PROVIDER_OPS_VERSION_CURRENT ;
8585 ops.finalize = [](void *obj) { delete reinterpret_cast <T *>(obj); };
8686 UMF_ASSIGN_OP (ops, T, alloc, UMF_RESULT_ERROR_UNKNOWN);
8787 UMF_ASSIGN_OP (ops, T, free, UMF_RESULT_ERROR_UNKNOWN);
0 commit comments