File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- // Copyright (C) 2024 Intel Corporation
1+ // Copyright (C) 2024-2025 Intel Corporation
22// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
33// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
44
@@ -12,7 +12,7 @@ constexpr int MAX_POOLS_ALLOC_SIZE = 1 * 1024; // 1 kB
1212constexpr int MAX_PROVIDER_ALLOC_SIZE = 100 * 1024 ; // 100 kB
1313
1414int umf_memory_provider_create (TestState &test_state) {
15- umf_memory_provider_ops_t *provider_ops = umfOsMemoryProviderOps ();
15+ const umf_memory_provider_ops_t *provider_ops = umfOsMemoryProviderOps ();
1616 umf_os_memory_provider_params_handle_t params = NULL ;
1717
1818 umf_result_t res = umfOsMemoryProviderParamsCreate (¶ms);
@@ -79,7 +79,7 @@ int umf_pool_create(TestState &test_state) {
7979 return -1 ;
8080 }
8181
82- umf_memory_pool_ops_t *pool_ops = umfScalablePoolOps ();
82+ const umf_memory_pool_ops_t *pool_ops = umfScalablePoolOps ();
8383 void *pool_params = NULL ;
8484 umf_pool_create_flags_t flags = 0 ;
8585 umf_memory_pool_handle_t pool;
You can’t perform that action at this time.
0 commit comments