refactor(Core): apply clang-tidy modernize-* (#9975)

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
Francesco Borzì
2022-01-17 14:35:07 +01:00
committed by GitHub
parent fe4899202d
commit 9dc88def35
71 changed files with 533 additions and 534 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ namespace Movement
{
struct Location : public Vector3
{
Location() {}
Location() = default;
Location(float x, float y, float z, float o) : Vector3(x, y, z), orientation(o) {}
Location(const Vector3& v) : Vector3(v), orientation(0) {}
Location(const Vector3& v) : Vector3(v) {}
Location(const Vector3& v, float o) : Vector3(v), orientation(o) {}
float orientation{0};
+1 -1
View File
@@ -89,7 +89,7 @@ namespace Movement
void UninitializedSplineInitMethod(Vector3 const*, index_type, bool, index_type) { ABORT(); }
public:
explicit SplineBase() {}
explicit SplineBase() = default;
/** 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]