File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/llvm/DebugInfo/DWARF Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ struct AggregationData {
3737
3838class OutputCategoryAggregator {
3939private:
40- std::map<std::string, AggregationData> Aggregation;
40+ std::map<std::string, AggregationData, std::less<> > Aggregation;
4141 bool IncludeDetail;
4242
4343public:
Original file line number Diff line number Diff line change @@ -2194,7 +2194,7 @@ void OutputCategoryAggregator::EnumerateResults(
21942194}
21952195void OutputCategoryAggregator::EnumerateDetailedResultsFor (
21962196 StringRef category, std::function<void (StringRef, unsigned )> handleCounts) {
2197- const auto Agg = Aggregation.find (std::string ( category) );
2197+ const auto Agg = Aggregation.find (category);
21982198 if (Agg != Aggregation.end ()) {
21992199 for (const auto &[name, aggData] : Agg->second .DetailedCounts ) {
22002200 handleCounts (name, aggData);
You can’t perform that action at this time.
0 commit comments