1234567891011121314151617 |
- #include "ptr.h"
- #include <util/system/defaults.h>
- #include <util/memory/alloc.h>
- #include <new>
- #include <cstdlib>
- void TFree::DoDestroy(void* t) noexcept {
- free(t);
- }
- void TDelete::Destroy(void* t) noexcept {
- ::operator delete(t);
- }
- TThrRefBase::~TThrRefBase() = default;
|