aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ptr.cpp
blob: ab8e7ca19233a7dac14d17c295c2365b6fe3f333 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;