- WITH_CXX_GUARDEDALLOC working again
- CMake building without python or fluidsim working again (broke in recent commit) - remove BLI_short_filename(), it wasnt used anywhere.
This commit is contained in:
@@ -202,8 +202,8 @@ protected:
|
||||
|
||||
#ifdef WITH_CXX_GUARDEDALLOC
|
||||
public:
|
||||
void *operator new( unsigned int num_bytes) { return MEM_mallocN(num_bytes, "CXX:STR_String"); }
|
||||
void operator delete( void *mem ) { MEM_freeN(mem); }
|
||||
void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "CXX:STR_String"); }
|
||||
void operator delete(void *mem) { MEM_freeN(mem); }
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user