mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10070"
|
||||
#define REVISION_NR "10071"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue