Rearrange fields in the Optional struct for less wasted padding.

This commit is contained in:
Alex Szpakowski
2019-06-25 20:08:32 -03:00
parent 9833515eba
commit 62d6573216
+1 -1
View File
@@ -27,8 +27,8 @@ namespace love
template <typename T>
struct Optional
{
bool hasValue;
T value;
bool hasValue;
Optional()
: hasValue(false)