Memory/constructor/warning clean-up. Addresses issue #705.
This commit is contained in:
parent
f1aeac8944
commit
32fd5d26e3
7 changed files with 12 additions and 5 deletions
|
|
@ -105,8 +105,8 @@ void SetThreadPoolAllocator(TPoolAllocator& poolAllocator)
|
|||
TPoolAllocator::TPoolAllocator(int growthIncrement, int allocationAlignment) :
|
||||
pageSize(growthIncrement),
|
||||
alignment(allocationAlignment),
|
||||
freeList(0),
|
||||
inUseList(0),
|
||||
freeList(nullptr),
|
||||
inUseList(nullptr),
|
||||
numCalls(0)
|
||||
{
|
||||
//
|
||||
|
|
|
|||
|
|
@ -1632,6 +1632,7 @@ TProgram::TProgram() : pool(0), reflection(0), ioMapper(nullptr), linked(false)
|
|||
|
||||
TProgram::~TProgram()
|
||||
{
|
||||
delete ioMapper;
|
||||
delete infoSink;
|
||||
delete reflection;
|
||||
|
||||
|
|
|
|||
|
|
@ -209,6 +209,9 @@ struct TResolverAdaptor
|
|||
TIoMapResolver& resolver;
|
||||
TInfoSink& infoSink;
|
||||
bool& error;
|
||||
|
||||
private:
|
||||
TResolverAdaptor& operator=(TResolverAdaptor&);
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue