chore: default size to 33 on LU(W)Strings since that's the most common lenght (#1410)

Was doing this on other places, but not the main one
This commit is contained in:
Aaron Kimbrell
2024-01-12 14:23:44 -06:00
committed by GitHub
parent 8b6fb8fb44
commit 0bc12141c3
9 changed files with 19 additions and 19 deletions

View File

@@ -12,7 +12,7 @@ struct LUString {
std::string string;
uint32_t size;
LUString(uint32_t size) {
LUString(uint32_t size = 33) {
this->size = size;
};
LUString(std::string string, uint32_t size = 33) {
@@ -28,7 +28,7 @@ struct LUWString {
std::u16string string;
uint32_t size;
LUWString(uint32_t size) {
LUWString(uint32_t size = 33) {
this->size = size;
};
LUWString(std::u16string string, uint32_t size = 33) {