MCPcopy Create free account
hub / github.com/axmolengine/axmol / deleteValueForKey

Method deleteValueForKey

core/base/UserDefault.cpp:522–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522void UserDefault::deleteValueForKey(const char* key)
523{
524 if (this->_values.erase(key) > 0)
525 flush();
526}
527
528void UserDefault::setFileName(std::string_view nameFile)
529{

Callers 2

doTestMethod · 0.45
doTestMethod · 0.45

Calls 2

flushFunction · 0.85
eraseMethod · 0.45

Tested by 2

doTestMethod · 0.36
doTestMethod · 0.36