mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 09:03:47 +00:00
refactor(Core): apply clang-tidy modernize-use-default-member-init (#3827)
This commit is contained in:
@@ -33,11 +33,11 @@ namespace Movement
|
||||
ControlArray points;
|
||||
ControlArray pointsVisual;
|
||||
|
||||
index_type index_lo;
|
||||
index_type index_hi;
|
||||
index_type index_lo{0};
|
||||
index_type index_hi{0};
|
||||
|
||||
uint8 m_mode;
|
||||
bool cyclic;
|
||||
uint8 m_mode{UninitializedMode};
|
||||
bool cyclic{false};
|
||||
|
||||
enum
|
||||
{
|
||||
@@ -79,7 +79,7 @@ namespace Movement
|
||||
|
||||
public:
|
||||
|
||||
explicit SplineBase() : index_lo(0), index_hi(0), m_mode(UninitializedMode), cyclic(false) {}
|
||||
explicit SplineBase() {}
|
||||
|
||||
/** Caclulates the position for given segment Idx, and percent of segment length t
|
||||
@param t - percent of segment length, assumes that t in range [0, 1]
|
||||
|
||||
Reference in New Issue
Block a user