[10066] Some tuning in consts.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2010-06-16 23:26:53 +02:00
parent d967af6549
commit 7dd5456401
5 changed files with 9 additions and 9 deletions

View file

@ -8549,7 +8549,7 @@ void Unit::CombatStopWithPets(bool includingCast)
struct IsAttackingPlayerHelper
{
explicit IsAttackingPlayerHelper() {}
bool operator()(Unit* unit) const { return unit->isAttackingPlayer(); }
inline bool operator()(Unit const* unit) const { return unit->isAttackingPlayer(); }
};
bool Unit::isAttackingPlayer() const