Cleanup: format

This commit is contained in:
Campbell Barton
2024-08-15 21:26:12 +10:00
parent b5e0b59736
commit da94978cc4
2 changed files with 2 additions and 4 deletions

View File

@@ -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();

View File

@@ -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<typename CB>
static void ANIM_armature_foreach_bone(ListBase /*Bone*/ *bones, CB callback)
template<typename CB> static void ANIM_armature_foreach_bone(ListBase /*Bone*/ *bones, CB callback)
{
for (Bone *bone : blender::ListBaseWrapper<Bone>(bones)) {
callback(bone);