MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / Move

Method Move

native/thirdpart/flatbuffers/idl.h:217–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215 }
216
217 void Move(const std::string &oldname, const std::string &newname) {
218 auto it = dict.find(oldname);
219 if (it != dict.end()) {
220 auto obj = it->second;
221 dict.erase(it);
222 dict[newname] = obj;
223 } else {
224 FLATBUFFERS_ASSERT(false);
225 }
226 }
227
228 T *Lookup(const std::string &name) const {
229 auto it = dict.find(name);

Callers 1

LookupCreateStructMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected