| 176 | } |
| 177 | |
| 178 | void clear () |
| 179 | { |
| 180 | //Lee: |
| 181 | //The original was just too strange, though correct: |
| 182 | // TiXmlString().swap(*this); |
| 183 | //Instead use the quit & re-init: |
| 184 | quit(); |
| 185 | init(0,0); |
| 186 | } |
| 187 | |
| 188 | /* Function to reserve a big amount of data when we know we'll need it. Be aware that this |
| 189 | function DOES NOT clear the content of the TiXmlString if any exists. |
no test coverage detected