MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / swap

Method swap

src/jsoncpp.cpp:2688–2691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2686}
2687
2688void Value::CZString::swap(CZString& other) {
2689 std::swap(cstr_, other.cstr_);
2690 std::swap(index_, other.index_);
2691}
2692
2693Value::CZString& Value::CZString::operator=(CZString other) {
2694 swap(other);

Callers 1

swapFunction · 0.80

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected