summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/histogram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/libipa/histogram.h')
-rw-r--r--src/ipa/libipa/histogram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/libipa/histogram.h b/src/ipa/libipa/histogram.h
index c40a366b..164d4603 100644
--- a/src/ipa/libipa/histogram.h
+++ b/src/ipa/libipa/histogram.h
@@ -22,7 +22,7 @@ namespace ipa {
class Histogram
{
public:
- Histogram(Span<uint32_t> data);
+ Histogram(Span<const uint32_t> data);
size_t bins() const { return cumulative_.size() - 1; }
uint64_t total() const { return cumulative_[cumulative_.size() - 1]; }
uint64_t cumulativeFrequency(double bin) const;