MCPcopy Create free account
hub / github.com/cemu-project/Cemu / MarkInUse

Method MarkInUse

src/util/tinyxml2/tinyxml2.cpp:2027–2038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2025
2026
2027 void XMLDocument::MarkInUse(XMLNode* node)
2028 {
2029 TIXMLASSERT(node);
2030 TIXMLASSERT(node->_parent == 0);
2031
2032 for (int i = 0; i < _unlinked.Size(); ++i) {
2033 if (node == _unlinked[i]) {
2034 _unlinked.SwapRemove(i);
2035 break;
2036 }
2037 }
2038 }
2039
2040 void XMLDocument::Clear()
2041 {

Callers 2

DeleteNodeMethod · 0.80
InsertChildPreambleMethod · 0.80

Calls 2

SwapRemoveMethod · 0.80
SizeMethod · 0.45

Tested by

no test coverage detected