MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / ~CZString

Method ~CZString

src/share/jsoncpp/jsoncpp.cpp:2732–2736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2730#endif
2731
2732Value::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
2738void Value::CZString::swap(CZString& other) {
2739 std::swap(cstr_, other.cstr_);

Callers

nothing calls this directly

Calls 1

releaseStringValueFunction · 0.85

Tested by

no test coverage detected