diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-12 03:42:54 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-12 04:51:11 +0300 |
commit | 0dc309bef636e4da8ee3dad97eb8b27562138701 (patch) | |
tree | 936e74f248acbdbc4a62599fd06387954be369df /source/blender/blenlib/BLI_buffer.h | |
parent | f4492629ea0e5018412d5634c7be898a09af8bf0 (diff) |
Cleanup: remove redundant const qualifiers for POD types
Diffstat (limited to 'source/blender/blenlib/BLI_buffer.h')
-rw-r--r-- | source/blender/blenlib/BLI_buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_buffer.h b/source/blender/blenlib/BLI_buffer.h index 7f577443cf7..e79d44fd934 100644 --- a/source/blender/blenlib/BLI_buffer.h +++ b/source/blender/blenlib/BLI_buffer.h @@ -74,7 +74,7 @@ enum { /** * \note Never decreases the amount of memory allocated. */ -void BLI_buffer_resize(BLI_Buffer *buffer, const size_t new_count); +void BLI_buffer_resize(BLI_Buffer *buffer, size_t new_count); /** * Ensure size, throwing away old data, respecting #BLI_BUFFER_USE_CALLOC. @@ -83,7 +83,7 @@ void BLI_buffer_resize(BLI_Buffer *buffer, const size_t new_count); * - Ignored (malloc'd). * - Cleared (when #BLI_BUFFER_USE_CALLOC is set). */ -void BLI_buffer_reinit(BLI_Buffer *buffer, const size_t new_count); +void BLI_buffer_reinit(BLI_Buffer *buffer, size_t new_count); /** * Append an array of elements. |