MCPcopy Create free account
hub / github.com/Samsung/UTopia / initBasic

Method initBasic

external/jsoncpp/jsoncpp.cpp:3373–3379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3371}
3372
3373void Value::initBasic(ValueType type, bool allocated) {
3374 setType(type);
3375 setIsAllocated(allocated);
3376 comments_ = Comments{};
3377 start_ = 0;
3378 limit_ = 0;
3379}
3380
3381void Value::dupPayload(const Value &other) {
3382 setType(other.type());

Callers

nothing calls this directly

Calls 1

setIsAllocatedFunction · 0.85

Tested by

no test coverage detected