Fix various core types to be trivially constructible as properly POD-type

This commit is contained in:
Wojtek Figat
2023-07-18 18:20:11 +02:00
parent 872509df2a
commit b2b10ce7da
19 changed files with 20 additions and 61 deletions

View File

@@ -121,9 +121,7 @@ public:
/// <summary>
/// Default constructor
/// </summary>
Half2()
{
}
Half2() = default;
/// <summary>
/// Init
@@ -185,9 +183,7 @@ public:
Half Z;
public:
Half3()
{
}
Half3() = default;
Half3(Half x, Half y, Half z)
: X(x)
@@ -242,9 +238,7 @@ public:
Half W;
public:
Half4()
{
}
Half4() = default;
Half4(Half x, Half y, Half z, Half w)
: X(x)