| 67 | } |
| 68 | |
| 69 | void ValuedComponentI::deleteValue(std::string_view name, |
| 70 | ExprBuilder& exprBuilder) { |
| 71 | std::map<std::string, std::pair<Value*, int32_t>>::iterator itr = |
| 72 | m_paramMap.find(name); |
| 73 | if (itr != m_paramMap.end()) { |
| 74 | exprBuilder.deleteValue((*itr).second.first); |
| 75 | m_paramMap.erase(itr); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | void ValuedComponentI::forgetValue(std::string_view name) { |
| 80 | std::map<std::string, std::pair<Value*, int32_t>>::iterator itr = |
no outgoing calls
no test coverage detected