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

Method LoadLastBookmarkId

libs/map/user_mark_id_storage.cpp:138–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void UserMarkIdStorage::LoadLastBookmarkId()
139{
140 uint64_t lastId;
141 std::string val;
142 if (GetPlatform().GetSecureStorage().Load(kLastBookmarkId, val) && strings::to_uint64(val, lastId))
143 m_lastBookmarkId = lastId;
144 else
145 m_lastBookmarkId = 0;
146}
147
148void UserMarkIdStorage::LoadLastTrackId()
149{

Callers

nothing calls this directly

Calls 2

to_uint64Function · 0.85
LoadMethod · 0.45

Tested by

no test coverage detected