MCPcopy Create free account
hub / github.com/Illumina/paragraph / ~CZString

Method ~CZString

external/jsoncpp/jsoncpp.cpp:2753–2757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2751#endif
2752
2753Value::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
2759void Value::CZString::swap(CZString& other) {
2760 std::swap(cstr_, other.cstr_);

Callers

nothing calls this directly

Calls 1

releaseStringValueFunction · 0.85

Tested by

no test coverage detected