MCPcopy Create free account
hub / github.com/Kitware/CMake / initBasic

Method initBasic

Utilities/cmjsoncpp/src/lib_json/json_value.cpp:968–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

966}
967
968void Value::initBasic(ValueType type, bool allocated) {
969 setType(type);
970 setIsAllocated(allocated);
971 comments_ = Comments{};
972 start_ = 0;
973 limit_ = 0;
974}
975
976void Value::dupPayload(const Value& other) {
977 setType(other.type());

Callers

nothing calls this directly

Calls 1

setIsAllocatedFunction · 0.85

Tested by

no test coverage detected