MCPcopy Create free account
hub / github.com/crossuo/crossuo / DeleteNode

Method DeleteNode

external/tinyxml2.cpp:1134–1147  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

1132}
1133
1134/*static*/ void XMLNode::DeleteNode( XMLNode* node )
1135{
1136 if ( node == 0 ) {
1137 return;
1138 }
1139 TIXMLASSERT(node->_document);
1140 if (!node->ToDocument()) {
1141 node->_document->MarkInUse(node);
1142 }
1143
1144 MemPool* pool = node->_memPool;
1145 node->~XMLNode();
1146 pool->Free( node );
1147}
1148
1149void XMLNode::InsertChildPreamble( XMLNode* insertThis ) const
1150{

Callers

nothing calls this directly

Calls 5

MarkInUseMethod · 0.80
~XMLNodeMethod · 0.80
DeleteChildMethod · 0.80
SetTrackedMethod · 0.80
FreeMethod · 0.45

Tested by

no test coverage detected