| 618 | } |
| 619 | |
| 620 | std::vector<TraceEventFields> allEvents(std::map<std::string, TraceEventFields> const& data) { |
| 621 | std::vector<TraceEventFields> all; |
| 622 | for (auto it = data.begin(); it != data.end(); it++) { |
| 623 | all.push_back(it->second); |
| 624 | } |
| 625 | return all; |
| 626 | } |
| 627 | |
| 628 | std::vector<TraceEventFields> LatestEventCache::getAll() { |
| 629 | return allEvents(latest[getAddressIndex()]); |
no test coverage detected