refactor(Core): apply clang-tidy modernize-use-equals-default (#3834)

This commit is contained in:
Francesco Borzì
2020-12-07 19:21:55 +01:00
committed by GitHub
parent 0b8ec1f6ee
commit 1cf39b3d22
35 changed files with 48 additions and 56 deletions

View File

@@ -27,7 +27,7 @@ namespace Movement
FacingInfo(float o) : angle(o) {}
FacingInfo(uint64 t) : target(t) {}
FacingInfo() {}
FacingInfo() = default;
};
struct MoveSplineInitArgs

View File

@@ -139,7 +139,7 @@ namespace Movement
[[nodiscard]] index_type computeIndexInBounds(length_type length) const;
public:
explicit Spline() {}
explicit Spline() = default;
/** Calculates the position for given t
@param t - percent of spline's length, assumes that t in range [0, 1]. */