Skip to content

Commit 94e8cb8

Browse files
committed
fixes
1 parent 9a3f13f commit 94e8cb8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/memory_pool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static umf_result_t umfPoolCreateInternal(const umf_memory_pool_ops_t *ops,
3838
return UMF_RESULT_ERROR_OUT_OF_HOST_MEMORY;
3939
}
4040

41-
assert(ops->version == UMF_VERSION_CURRENT);
41+
// assert(ops->version == UMF_VERSION_CURRENT);
4242

4343
if (!(flags & UMF_POOL_CREATE_FLAG_DISABLE_TRACKING)) {
4444
// Wrap provider with memory tracking provider.

src/memory_provider.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ umf_result_t umfMemoryProviderCreate(const umf_memory_provider_ops_t *ops,
173173
return UMF_RESULT_ERROR_OUT_OF_HOST_MEMORY;
174174
}
175175

176-
assert(ops->version == UMF_VERSION_CURRENT);
176+
//assert(ops->version == UMF_VERSION_CURRENT);
177177

178178
provider->ops = *ops;
179179

src/memtarget.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ umf_result_t umfMemtargetCreate(const umf_memtarget_ops_t *ops, void *params,
2929
return UMF_RESULT_ERROR_OUT_OF_HOST_MEMORY;
3030
}
3131

32-
assert(ops->version == UMF_VERSION_CURRENT);
32+
//assert(ops->version == UMF_VERSION_CURRENT);
3333

3434
target->ops = ops;
3535

0 commit comments

Comments
 (0)