MCPcopy Create free account
hub / github.com/Snapchat/Valdi / clone

Method clone

valdi_core/src/valdi_core/cpp/Utils/ValueArray.cpp:90–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90Ref<ValueArray> ValueArray::clone() const {
91 auto out = make(size());
92 out->copy(begin(), end());
93
94 return out;
95}
96
97void ValueArray::sort() {
98 std::sort(begin(), end());

Callers

nothing calls this directly

Calls 4

beginFunction · 0.85
copyMethod · 0.65
sizeFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected