aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2026-01-08 13:45:43 +0100
committerShauren <shauren.trinity@gmail.com>2026-01-08 13:45:43 +0100
commit05406d034ed464f14a3879f7f990f0117d0f5fc8 (patch)
treeda044ee5b62a4d01c248d4c74403881e6eaf5f92 /src
parentf3c88ea179414878e2a894bedacffebcdbb906e6 (diff)
Warning fix
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Maps/DynamicMMapTileBuilder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Maps/DynamicMMapTileBuilder.cpp b/src/server/game/Maps/DynamicMMapTileBuilder.cpp
index be2a1e7fd2b..b97e05dc35c 100644
--- a/src/server/game/Maps/DynamicMMapTileBuilder.cpp
+++ b/src/server/game/Maps/DynamicMMapTileBuilder.cpp
@@ -136,7 +136,7 @@ struct TileCache
MMAP::CreateVMapManager = &CreateVMapManager;
// init timer
- OnCacheCleanupTimerTick({});
+ OnCacheCleanupTimerTick();
// start the worker
_builderThread = std::thread([this] { _taskContext.run(); });
@@ -161,7 +161,7 @@ struct TileCache
}
private:
- void OnCacheCleanupTimerTick(boost::system::error_code const& error)
+ void OnCacheCleanupTimerTick()
{
TimePoint now = GameTime::Now();
RemoveOldCacheEntries(now - CACHE_MAX_AGE);
@@ -171,7 +171,7 @@ private:
if (error || !_builderThread.joinable() /*shutting down*/)
return;
- OnCacheCleanupTimerTick(error);
+ OnCacheCleanupTimerTick();
});
}