新增选择编译能力

Signed-off-by: zt147369 <zhangting201@huawei.com>
This commit is contained in:
zt147369
2023-12-12 17:11:14 +08:00
parent 0f137fe407
commit b399dc9e64
12 changed files with 364 additions and 2 deletions
+6
View File
@@ -428,6 +428,12 @@ bool ResourceUtil::isUnicodeInPlane15or16(int unicode)
return (unicode >= 0xF0000 && unicode <= 0xFFFFF) || (unicode >= 0x100000 && unicode <= 0x10FFFF);
}
void ResourceUtil::RemoveSpaces(string &str)
{
str.erase(0, str.find_first_not_of(" "));
str.erase(str.find_last_not_of(" ") + 1); // move back one place
}
}
}
}