Skip to content

Commit af09a15

Browse files
committed
Add const for loop variable in regression_test.cc
1 parent edbd4b8 commit af09a15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/regression/regression_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ std::unique_ptr<RegressionTests> RegressionTests::from_yajl_node(const yajl_val
280280
}
281281

282282
void RegressionTests::update_content_lengths() {
283-
for (auto & test : tests) {
283+
for (const auto &test : tests) {
284284
test->update_content_lengths();
285285
}
286286
}

0 commit comments

Comments
 (0)