feat: basically finish parser helper.

- basically finish parser helper, including TryParse, Parse and ToString.
- only Parse has been tested. other test should be filled in future.
This commit is contained in:
2024-05-28 19:59:41 +08:00
parent d437ecc140
commit 72eb79ce1a
9 changed files with 141 additions and 17 deletions

View File

@ -61,7 +61,7 @@ namespace YYCC::DialogHelper {
if (modes.empty()) return false;
// add into pairs and return
m_Filters.emplace_back(std::make_pair(name, modes));
m_Filters.emplace_back(std::make_pair(std::move(name), std::move(modes)));
return true;
}