New templatized linked_list collection
Also updated tests to work with memory changes
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include "catch.hpp"
|
||||
|
||||
// kutil malloc/free stubs
|
||||
#include <malloc.h>
|
||||
namespace kutil {
|
||||
void * malloc(size_t n) { return ::malloc(n); }
|
||||
void free(void *p) { ::free(p); }
|
||||
}
|
||||
void * operator new (size_t n) { return ::malloc(n); }
|
||||
void * operator new[] (size_t n) { return ::malloc(n); }
|
||||
void operator delete (void *p) noexcept { return ::free(p); }
|
||||
void operator delete[] (void *p) noexcept { return ::free(p); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user