mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 05:36:23 +00:00
refactor(Core): apply clang-tidy modernize-use-default-member-init (#3827)
This commit is contained in:
@@ -1026,9 +1026,9 @@ uint32 createProcExtendMask(SpellNonMeleeDamage* damageInfo, SpellMissInfo missC
|
||||
|
||||
struct RedirectThreatInfo
|
||||
{
|
||||
RedirectThreatInfo() : _targetGUID(0), _threatPct(0) { }
|
||||
uint64 _targetGUID;
|
||||
uint32 _threatPct;
|
||||
RedirectThreatInfo() { }
|
||||
uint64 _targetGUID{0};
|
||||
uint32 _threatPct{0};
|
||||
|
||||
[[nodiscard]] uint64 GetTargetGUID() const { return _targetGUID; }
|
||||
[[nodiscard]] uint32 GetThreatPct() const { return _threatPct; }
|
||||
|
||||
Reference in New Issue
Block a user