Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/CMake
/ swapPayload
Method
swapPayload
Utilities/cmjsoncpp/src/lib_json/json_value.cpp:456–459 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
454
}
455
456
void Value::swapPayload(Value& other) {
457
std::swap(bits_, other.bits_);
458
std::swap(value_, other.value_);
459
}
460
461
void Value::copyPayload(const Value& other) {
462
releasePayload();
Callers
6
readValue
Method · 0.80
readObject
Method · 0.80
readArray
Method · 0.80
decodeNumber
Method · 0.80
decodeDouble
Method · 0.80
decodeString
Method · 0.80
Calls
1
swap
Function · 0.50
Tested by
no test coverage detected