Refactor: Cycles: Add const keyword to more function parameters
Pull Request: https://projects.blender.org/blender/blender/pulls/132361
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
CCL_NAMESPACE_BEGIN
|
||||
|
||||
void *util_aligned_malloc(size_t size, int alignment)
|
||||
void *util_aligned_malloc(const size_t size, const int alignment)
|
||||
{
|
||||
#ifdef WITH_BLENDER_GUARDEDALLOC
|
||||
return MEM_mallocN_aligned(size, alignment, "Cycles Aligned Alloc");
|
||||
|
||||
Reference in New Issue
Block a user