| 2177 | |
| 2178 | |
| 2179 | void XMLDocument::MarkInUse(const XMLNode* const node) |
| 2180 | { |
| 2181 | TIXMLASSERT(node); |
| 2182 | TIXMLASSERT(node->_parent == 0); |
| 2183 | |
| 2184 | for (int i = 0; i < _unlinked.Size(); ++i) { |
| 2185 | if (node == _unlinked[i]) { |
| 2186 | _unlinked.SwapRemove(i); |
| 2187 | break; |
| 2188 | } |
| 2189 | } |
| 2190 | } |
| 2191 | |
| 2192 | void XMLDocument::Clear() |
| 2193 | { |
no test coverage detected