mirror of
https://github.com/zeldaret/st
synced 2026-06-29 03:10:53 -04:00
b116e79e9f
* UnkStruct_027e09b8_001 OK * match func_ov001_020b7830 * fix build issues * UnkStruct_027e0cd8_001 49% * UnkStruct_027e0cd8_001 OK * fix build issues * UnkStruct_027e0cd8_0C_001 92% * port some MSL C++ headers from rb3 and key decomps * fix build issues * UnkStruct_027e0cd8_0C_001 98%
29 lines
488 B
C++
29 lines
488 B
C++
#ifndef _STD_DEFAULT_DELETE
|
|
#define _STD_DEFAULT_DELETE
|
|
|
|
// from rb3 decomp
|
|
|
|
#include <new>
|
|
|
|
namespace std {
|
|
|
|
namespace detail {
|
|
|
|
template <typename T> struct default_delete {
|
|
void operator()(T *ptr) {
|
|
delete ptr;
|
|
}
|
|
};
|
|
|
|
template <typename T> struct default_delete<T[]> {
|
|
void operator()(T ptr[]) {
|
|
delete[] ptr;
|
|
}
|
|
};
|
|
|
|
} // namespace detail
|
|
|
|
} // namespace std
|
|
|
|
#endif
|