| 1501 | } |
| 1502 | |
| 1503 | bool TraceEventFields::tryGetValue(std::string key, std::string& outValue) const { |
| 1504 | for (auto itr = begin(); itr != end(); ++itr) { |
| 1505 | if (itr->first == key) { |
| 1506 | outValue = itr->second; |
| 1507 | return true; |
| 1508 | } |
| 1509 | } |
| 1510 | |
| 1511 | return false; |
| 1512 | } |
| 1513 | |
| 1514 | std::string TraceEventFields::getValue(std::string key) const { |
| 1515 | std::string value; |
no test coverage detected