1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

this-> fix

This commit is contained in:
Brian Fiete 2020-09-20 05:38:10 -07:00
parent 4571221551
commit 4765bd9738

View file

@ -987,11 +987,11 @@ public:
~BfDeferredAstNodeSizedArray()
{
BfSizedArrayInitIndirect(*mSizedArray, *this, mAlloc);
if (!mSizedArray->IsEmpty())
if (!this->mSizedArray->IsEmpty())
{
int endPos = mSizedArray->back()->mSrcEnd;
if (endPos > mParentNode->mSrcEnd)
mParentNode->mSrcEnd = endPos;
int endPos = this->mSizedArray->back()->mSrcEnd;
if (endPos > this->mParentNode->mSrcEnd)
this->mParentNode->mSrcEnd = endPos;
}
}
};