Fix short alignment

This commit is contained in:
Bigjango13 2024-01-21 18:42:52 -05:00
parent 6b4d6d9239
commit 0b696bd55b

View File

@ -87,7 +87,7 @@ export class SimpleProperty implements Property {
return 1; return 1;
} else if (this.#type === 'short' || this.#type === 'ushort') { } else if (this.#type === 'short' || this.#type === 'ushort') {
// Short // Short
return 1; return 2;
} else if (this.#type.startsWith('std::vector<')) { } else if (this.#type.startsWith('std::vector<')) {
// C++ Vector // C++ Vector
return 4; return 4;