| 282 | #endif |
| 283 | |
| 284 | Value::CZString::~CZString() { |
| 285 | if (cstr_ && storage_.policy_ == duplicate) { |
| 286 | releaseStringValue(const_cast<char*>(cstr_), storage_.length_ + 1u); //+1 for null terminating character for sake of completeness but not actually necessary |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | void Value::CZString::swap(CZString& other) { |
| 291 | std::swap(cstr_, other.cstr_); |
nothing calls this directly
no test coverage detected