| 2751 | #endif |
| 2752 | |
| 2753 | Value::CZString::~CZString() { |
| 2754 | if (cstr_ && storage_.policy_ == duplicate) { |
| 2755 | releaseStringValue(const_cast<char*>(cstr_), storage_.length_ + 1u); //+1 for null terminating character for sake of completeness but not actually necessary |
| 2756 | } |
| 2757 | } |
| 2758 | |
| 2759 | void Value::CZString::swap(CZString& other) { |
| 2760 | std::swap(cstr_, other.cstr_); |
nothing calls this directly
no test coverage detected