From da94978cc40ec0dd30dde8e4293613f3ed2e6cf4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 15 Aug 2024 21:26:12 +1000 Subject: [PATCH] Cleanup: format --- intern/guardedalloc/intern/mallocn_inline.hh | 3 +-- source/blender/animrig/ANIM_armature_iter.hh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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);