Skip to content

Commit

Permalink
Fix SonarQube issue
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Oct 5, 2023
1 parent 931792b commit 1d78afc
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 @@ -237,7 +237,7 @@ string ScsictlDisplay::DisplayStatisticsInfo(const PbStatisticsInfo& statistics_

s << "Statistics:\n";

map<string, PbStatistics> sorted_statistics;
map<string, PbStatistics, less<>> sorted_statistics;
for (const auto& statistics : statistics_info.statistics()) {
sorted_statistics[statistics.key()] = statistics;
}
Expand Down

0 comments on commit 1d78afc

Please sign in to comment.