MCPcopy Create free account
hub / github.com/Samsung/UTopia / ~CZString

Method ~CZString

external/jsoncpp/jsoncpp.cpp:2655–2663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2653}
2654
2655Value::CZString::~CZString() {
2656 if (cstr_ && storage_.policy_ == duplicate) {
2657 releaseStringValue(const_cast<char *>(cstr_),
2658 storage_.length_ + 1u); // +1 for null terminating
2659 // character for sake of
2660 // completeness but not actually
2661 // necessary
2662 }
2663}
2664
2665void Value::CZString::swap(CZString &other) {
2666 std::swap(cstr_, other.cstr_);

Callers

nothing calls this directly

Calls 1

releaseStringValueFunction · 0.85

Tested by

no test coverage detected