mirror of
https://github.com/openharmony/resourceschedule_memmgr.git
synced 2026-07-01 03:23:18 -04:00
@@ -307,8 +307,9 @@ void ParseParams(const std::vector<std::string> ¶ms,
|
||||
std::string tmpKey;
|
||||
std::vector<std::string> tmpValue;
|
||||
for (auto i = 0; i < params.size(); i++) {
|
||||
if (params[i].empty())
|
||||
if (params[i].empty()) {
|
||||
continue;
|
||||
}
|
||||
if (params[i][0] == '-') {
|
||||
if (!tmpKey.empty()) {
|
||||
keyValuesMapping[tmpKey] = tmpValue;
|
||||
|
||||
Reference in New Issue
Block a user