- fixed many compilation errors with GCC and Clang

This commit is contained in:
alexey.lysiuk 2019-01-07 10:14:52 +02:00 committed by Christoph Oelckers
commit 11958b713e
25 changed files with 110 additions and 110 deletions

View file

@ -307,7 +307,7 @@ IMPLEMENT_POINTERS_END
DSeqNode::DSeqNode ()
: m_SequenceChoices(0)
{
m_Next = m_Prev = m_ChildSeqNode = m_ParentSeqNode = NULL;
m_Next = m_Prev = m_ChildSeqNode = m_ParentSeqNode = nullptr;
}
void DSeqNode::Serialize(FSerializer &arc)
@ -395,8 +395,8 @@ void DSeqNode::OnDestroy()
if (m_ParentSeqNode != NULL && m_ParentSeqNode->m_ChildSeqNode == this)
{
m_ParentSeqNode->m_SequencePtr++;
m_ParentSeqNode->m_ChildSeqNode = NULL;
m_ParentSeqNode = NULL;
m_ParentSeqNode->m_ChildSeqNode = nullptr;
m_ParentSeqNode = nullptr;
}
if (SequenceListHead == this)
{
@ -821,7 +821,7 @@ DSeqNode::DSeqNode (int sequence, int modenum)
m_Prev = NULL;
}
GC::WriteBarrier(this);
m_ParentSeqNode = m_ChildSeqNode = NULL;
m_ParentSeqNode = m_ChildSeqNode = nullptr;
}
void DSeqNode::ActivateSequence (int sequence)