Index: base/test/histogram_tester.cc |
diff --git a/base/test/histogram_tester.cc b/base/test/histogram_tester.cc |
index 59ea1c630217a3e9cdc3d986b8594bc5201db63b..87f4f9cbd25ca7c32663005f2cac2e2c93531d7a 100644 |
--- a/base/test/histogram_tester.cc |
+++ b/base/test/histogram_tester.cc |
@@ -23,7 +23,7 @@ HistogramTester::HistogramTester() { |
// be subtracted later. |
StatisticsRecorder::Histograms histograms; |
StatisticsRecorder::GetSnapshot(std::string(), &histograms); |
- for (const auto& histogram : histograms) { |
+ for (auto* histogram : histograms) { |
danakj
2017/02/13 18:06:55
I think this can be const
vmpstr
2017/02/13 19:39:41
Done.
|
histograms_snapshot_[histogram->histogram_name()] = |
histogram->SnapshotSamples(); |
} |