MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / ~TiXmlNode

Method ~TiXmlNode

lesson7-Detection/src/utils/tinyxml.cpp:147–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145
146
147TiXmlNode::~TiXmlNode()
148{
149 TiXmlNode* node = firstChild;
150 TiXmlNode* temp = 0;
151
152 while ( node )
153 {
154 temp = node;
155 node = node->next;
156 delete temp;
157 }
158}
159
160
161void TiXmlNode::CopyTo( TiXmlNode* target ) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected