diff --git a/intern/guardedalloc/intern/mallocn_inline.hh b/intern/guardedalloc/intern/mallocn_inline.hh index cb4644d6fd9..50b36a8046e 100644 --- a/intern/guardedalloc/intern/mallocn_inline.hh +++ b/intern/guardedalloc/intern/mallocn_inline.hh @@ -79,8 +79,7 @@ MEM_INLINE void MEM_trigger_error_on_memory_block(const void *address, const siz ASAN_UNPOISON_MEMORY_REGION(address, size); } #else -MEM_INLINE void MEM_trigger_error_on_memory_block(const void * /*address*/, - const size_t /*size*/) +MEM_INLINE void MEM_trigger_error_on_memory_block(const void * /*address*/, const size_t /*size*/) { # ifdef WITH_ASSERT_ABORT abort(); diff --git a/source/blender/animrig/ANIM_armature_iter.hh b/source/blender/animrig/ANIM_armature_iter.hh index 8fa1a7fc9b2..586662395f5 100644 --- a/source/blender/animrig/ANIM_armature_iter.hh +++ b/source/blender/animrig/ANIM_armature_iter.hh @@ -27,8 +27,7 @@ namespace blender::animrig { * TODO: extend the callback with a `bool` return value to indicate whether the * loop should continue or stop. */ -template -static void ANIM_armature_foreach_bone(ListBase /*Bone*/ *bones, CB callback) +template static void ANIM_armature_foreach_bone(ListBase /*Bone*/ *bones, CB callback) { for (Bone *bone : blender::ListBaseWrapper(bones)) { callback(bone);