[ox] Cleanup

This commit is contained in:
2018-05-03 01:33:47 -05:00
parent 576a05a038
commit a8e1197ad0
2 changed files with 4 additions and 8 deletions

View File

@@ -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.