MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / ~MessageVector

Method ~MessageVector

Engine/source/gui/utility/messageVector.cpp:413–422  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

411
412//--------------------------------------------------------------------------
413MessageVector::~MessageVector()
414{
415 for (U32 i = 0; i < mMessageLines.size(); i++) {
416 char* pDelete = const_cast<char*>(mMessageLines[i].message);
417 delete [] pDelete;
418 mMessageLines[i].message = 0;
419 mMessageLines[i].messageTag = 0xFFFFFFFF;
420 }
421 mMessageLines.clear();
422}
423
424
425//--------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected