| 6630 | } |
| 6631 | |
| 6632 | char_t* data(xpath_allocator* alloc) |
| 6633 | { |
| 6634 | // make private heap copy |
| 6635 | if (!_uses_heap) |
| 6636 | { |
| 6637 | _buffer = duplicate_string(_buffer, alloc); |
| 6638 | _uses_heap = true; |
| 6639 | } |
| 6640 | |
| 6641 | return const_cast<char_t*>(_buffer); |
| 6642 | } |
| 6643 | |
| 6644 | bool empty() const |
| 6645 | { |
nothing calls this directly
no test coverage detected