MCPcopy Create free account
hub / github.com/FastLED/FastLED / setSharedHolder

Method setSharedHolder

src/fl/stl/basic_string.cpp.hpp:1314–1318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1312}
1313
1314void basic_string::setSharedHolder(const fl::shared_ptr<StringHolder>& holder) {
1315 if (!holder || holder->length() == 0) return;
1316 mLength = holder->length();
1317 mStorage = NotNullStringHolderPtr(holder);
1318}
1319
1320// ======= APPEND =======
1321

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected