MCPcopy Create free account
hub / github.com/PlayFab/gsdk / ~CZString

Method ~CZString

cpp/cppsdk/jsoncpp.cpp:2739–2747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2737#endif
2738
2739Value::CZString::~CZString() {
2740 if (cstr_ && storage_.policy_ == duplicate) {
2741 releaseStringValue(const_cast<char*>(cstr_),
2742 storage_.length_ + 1u); // +1 for null terminating
2743 // character for sake of
2744 // completeness but not actually
2745 // necessary
2746 }
2747}
2748
2749void Value::CZString::swap(CZString& other) {
2750 std::swap(cstr_, other.cstr_);

Callers

nothing calls this directly

Calls 1

releaseStringValueFunction · 0.85

Tested by

no test coverage detected