17 lines
377 B
C++
17 lines
377 B
C++
#include "Object.h"
|
|
#include <stdlib.h>
|
|
|
|
namespace Kylin {
|
|
|
|
void *Object::operator new(size_t size) noexcept { return malloc(size); }
|
|
|
|
void Object::operator delete(void *p) { free(p); }
|
|
|
|
void *Object::operator new[](size_t size) noexcept { return malloc(size); }
|
|
|
|
void Object::operator delete[](void *p) { free(p); }
|
|
|
|
Object::~Object() {}
|
|
|
|
} // namespace Kylin
|