Misc: Pass std::chrono types by value everywhere.

(cherry picked from commit 2ef9d301f0869b443122e2ba543af054c5b0e53c)
This commit is contained in:
Treeston
2021-10-14 19:39:42 +02:00
committed by Shauren
parent ab5792a33a
commit 3418a33a87
21 changed files with 39 additions and 38 deletions
@@ -965,7 +965,7 @@ void GameObject::AddUniqueUse(Player* player)
m_unique_users.insert(player->GetGUID());
}
void GameObject::DespawnOrUnsummon(Milliseconds const& delay, Seconds const& forceRespawnTime)
void GameObject::DespawnOrUnsummon(Milliseconds delay, Seconds forceRespawnTime)
{
if (delay > 0ms)
{