| 2730 | #endif |
| 2731 | |
| 2732 | Value::CZString::~CZString() { |
| 2733 | if (cstr_ && storage_.policy_ == duplicate) { |
| 2734 | releaseStringValue(const_cast<char*>(cstr_), storage_.length_ + 1u); //+1 for null terminating character for sake of completeness but not actually necessary |
| 2735 | } |
| 2736 | } |
| 2737 | |
| 2738 | void Value::CZString::swap(CZString& other) { |
| 2739 | std::swap(cstr_, other.cstr_); |
nothing calls this directly
no test coverage detected