mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 18:43:48 +00:00
refactor(Core/Misc): ceil() to std::ceil() (#9791)
- prefer std functions over C functions
This commit is contained in:
@@ -3410,7 +3410,7 @@ uint32 World::GetNextWhoListUpdateDelaySecs()
|
||||
uint32 t = m_timers[WUPDATE_5_SECS].GetInterval() - m_timers[WUPDATE_5_SECS].GetCurrent();
|
||||
t = std::min(t, (uint32)m_timers[WUPDATE_5_SECS].GetInterval());
|
||||
|
||||
return uint32(ceil(t / 1000.0f));
|
||||
return uint32(std::ceil(t / 1000.0f));
|
||||
}
|
||||
|
||||
void World::FinalizePlayerWorldSession(WorldSession* session)
|
||||
|
||||
Reference in New Issue
Block a user