Cleanup: format
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user