| 256 | } |
| 257 | |
| 258 | void ScriptParams::InsertScriptParam(const std::string &key, ScriptParam sp) { |
| 259 | if (parameter_map_.find(key) != parameter_map_.end()) { |
| 260 | parameter_map_[key].UpdateValuesFromSocket(sp); |
| 261 | } else { |
| 262 | parameter_map_[key] = sp; |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | void ScriptParams::InsertNewScriptParam(const std::string &key, ScriptParam ¶m) { |
| 267 | parameter_map_[key] = param; |
no test coverage detected