Skip to content

Commit 2e6fb64

Browse files
committed
Avoid pointless copy of block size histogram map.
1 parent 6b8e613 commit 2e6fb64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filters/stats/stats.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ inc_blksize_ctr (blksize_hist_t &hist, size_t blksize)
175175
}
176176

177177
static void
178-
print_histogram (const blksize_hist_t hist, int count)
178+
print_histogram (const blksize_hist_t& hist, int count)
179179
{
180180
double total = 0;
181181
for (auto el : hist) {

0 commit comments

Comments
 (0)