mirror of
https://github.com/zeldaret/st
synced 2026-06-29 03:10:53 -04:00
Decompile overlay 1 (Part 2) (#91)
* 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%
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user