mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[10071] Not need add new cases inline for in-class function definition.
This is redundant from current C++ standart point.
This commit is contained in:
parent
9091d56e70
commit
523584766b
2 changed files with 2 additions and 2 deletions
|
|
@ -8544,7 +8544,7 @@ void Unit::CombatStopWithPets(bool includingCast)
|
|||
struct IsAttackingPlayerHelper
|
||||
{
|
||||
explicit IsAttackingPlayerHelper() {}
|
||||
inline bool operator()(Unit const* unit) const { return unit->isAttackingPlayer(); }
|
||||
bool operator()(Unit const* unit) const { return unit->isAttackingPlayer(); }
|
||||
};
|
||||
|
||||
bool Unit::isAttackingPlayer() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue