Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Oct 5, 2023
1 parent a25f10f commit 8d36d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/scsictl/scsictl_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ string ScsictlDisplay::DisplayStatisticsInfo(const PbStatisticsInfo& statistics_
sorted_categories.emplace(category_name, statistics);
}

auto sorted_statistics = sorted_categories.find(category_name);
const auto& sorted_statistics = sorted_categories.find(category_name);
assert(sorted_statistics != sorted_categories.end());
sorted_statistics->second[statistics.key()] = statistics;
}
Expand Down

0 comments on commit 8d36d8f

Please sign in to comment.