cleanup: apply constness to read-only iterators
Apply const to read-only iterators to indicate intent more clearly.
Change-Id: Ic14304c69361da203d3d3a900180bd54346acc87
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/experiments/drive.cpp b/experiments/drive.cpp
index d73148a..3eed0a0 100644
--- a/experiments/drive.cpp
+++ b/experiments/drive.cpp
@@ -243,7 +243,7 @@
tstamp tp = t1;
/* Output the values and the timepoints as a time series for review. */
- for (auto& t : series)
+ for (const auto& t : series)
{
tstamp ts = std::get<0>(t);
int64_t n0 = std::get<1>(t);