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
2
2
// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
3
3
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
4
@@ -12,7 +12,7 @@ constexpr int MAX_POOLS_ALLOC_SIZE = 1 * 1024; // 1 kB
12
12
constexpr int MAX_PROVIDER_ALLOC_SIZE = 100 * 1024 ; // 100 kB
13
13
14
14
int 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 ();
16
16
umf_os_memory_provider_params_handle_t params = NULL ;
17
17
18
18
umf_result_t res = umfOsMemoryProviderParamsCreate (¶ms);
@@ -79,7 +79,7 @@ int umf_pool_create(TestState &test_state) {
79
79
return -1 ;
80
80
}
81
81
82
- umf_memory_pool_ops_t *pool_ops = umfScalablePoolOps ();
82
+ const umf_memory_pool_ops_t *pool_ops = umfScalablePoolOps ();
83
83
void *pool_params = NULL ;
84
84
umf_pool_create_flags_t flags = 0 ;
85
85
umf_memory_pool_handle_t pool;
You can’t perform that action at this time.
0 commit comments