MCPcopy Create free account
hub / github.com/comaps/comaps / LoadLastTrackId

Method LoadLastTrackId

libs/map/user_mark_id_storage.cpp:148–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void UserMarkIdStorage::LoadLastTrackId()
149{
150 uint64_t lastId;
151 std::string val;
152 if (GetPlatform().GetSecureStorage().Load(kLastTrackId, val) && strings::to_uint64(val, lastId))
153 m_lastTrackId = lastId;
154 else
155 m_lastTrackId = 0;
156}
157
158void UserMarkIdStorage::LoadLastCategoryId()
159{

Callers

nothing calls this directly

Calls 2

to_uint64Function · 0.85
LoadMethod · 0.45

Tested by

no test coverage detected