Skip to content

Commit

Permalink
initialize age of oldest key entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Karry committed Dec 28, 2024
1 parent c0b9c29 commit 967fd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libosmscout-client-qt/src/osmscoutclientqt/TileCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void TileCache::cleanupCache(uint32_t maxRemove, const std::chrono::milliseconds
#endif

uint32_t removed = 0;
std::chrono::steady_clock::duration oldest;
auto oldest=std::chrono::steady_clock::duration::zero();
TileCacheKey key;
TileCacheKey oldestKey;
auto now = std::chrono::steady_clock::now();
Expand Down

0 comments on commit 967fd78

Please sign in to comment.