Cleanup: move mallocn to c++
Required for a cleaner solution for #120632.
This commit is contained in:
@@ -20,7 +20,7 @@ set(INC_SYS
|
||||
|
||||
set(SRC
|
||||
./intern/leak_detector.cc
|
||||
./intern/mallocn.c
|
||||
./intern/mallocn.cc
|
||||
./intern/mallocn_guarded_impl.cc
|
||||
./intern/mallocn_lockfree_impl.cc
|
||||
./intern/memory_usage.cc
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
/* to ensure strict conversions */
|
||||
#include "../../source/blender/blenlib/BLI_strict_flags.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include "mallocn_intern.h"
|
||||
|
||||
Reference in New Issue
Block a user