MCPcopy Create free account
hub / github.com/SOUI2/soui / ~CZString

Method ~CZString

third-part/jsoncpp/src/lib_json/json_value.cpp:284–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282#endif
283
284Value::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
290void Value::CZString::swap(CZString& other) {
291 std::swap(cstr_, other.cstr_);

Callers

nothing calls this directly

Calls 1

releaseStringValueFunction · 0.85

Tested by

no test coverage detected