libostd/octa/new.h

14 lines
429 B
C
Raw Normal View History

2015-04-15 02:39:26 +02:00
/* Default new/delete operator overloads for OctaSTD. Also has an impl file.
2015-04-06 01:05:21 +02:00
*
2015-04-12 22:41:02 +02:00
* This file is part of OctaSTD. See COPYING.md for futher information.
2015-04-06 01:05:21 +02:00
*/
2015-04-11 22:00:10 +02:00
#ifndef OCTA_NEW_H
#define OCTA_NEW_H
2015-04-06 01:05:21 +02:00
inline void *operator new (size_t, void *p) { return p; }
inline void *operator new [](size_t, void *p) { return p; }
inline void operator delete (void *, void *) {}
inline void operator delete[](void *, void *) {}
#endif