mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 14:13:45 +00:00
[traffic] Restore decoded segments from cache on startup
Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
@@ -435,7 +435,7 @@ bool TrafficManager::RestoreCache()
|
|||||||
traffxml::TraffFeed feedOut;
|
traffxml::TraffFeed feedOut;
|
||||||
bool hasDecoded = false;
|
bool hasDecoded = false;
|
||||||
bool hasUndecoded = false;
|
bool hasUndecoded = false;
|
||||||
if (traffxml::ParseTraff(document, std::nullopt /* dataSource */, feedIn))
|
if (traffxml::ParseTraff(document, m_dataSource, feedIn))
|
||||||
{
|
{
|
||||||
while (!feedIn.empty())
|
while (!feedIn.empty())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user