summaryrefslogtreecommitdiffstats
path: root/base/histogram.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/histogram.cc')
-rw-r--r--base/histogram.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/histogram.cc b/base/histogram.cc
index bdf7f9a..9184926e 100644
--- a/base/histogram.cc
+++ b/base/histogram.cc
@@ -640,7 +640,7 @@ void ThreadSafeHistogram::Accumulate(Sample value, Count count, size_t index) {
Histogram::Accumulate(value, count, index);
}
-void ThreadSafeHistogram::SnapshotSample(SampleSet* sample) {
+void ThreadSafeHistogram::SnapshotSample(SampleSet* sample) const {
AutoLock lock(lock_);
Histogram::SnapshotSample(sample);
};