[ox] Cleanup
This commit is contained in:
8
deps/ox/src/ox/std/new.hpp
vendored
8
deps/ox/src/ox/std/new.hpp
vendored
@@ -27,12 +27,6 @@
|
||||
void *operator new(std::size_t, void*) noexcept;
|
||||
|
||||
|
||||
namespace ox {
|
||||
|
||||
constexpr auto MallocaStackLimit = 1024;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @return an ox::MallocaPtr of the given type pointing to the requested size memory allocation
|
||||
*/
|
||||
@@ -44,6 +38,8 @@ constexpr auto MallocaStackLimit = 1024;
|
||||
|
||||
namespace ox {
|
||||
|
||||
constexpr auto MallocaStackLimit = 1024;
|
||||
|
||||
/**
|
||||
* MallocaPtr will automatically cleanup the pointed to address upon
|
||||
* destruction if the size of the allocation is greater than MallocaStackLimit.
|
||||
|
Reference in New Issue
Block a user