[cctest] Fix -Wshadow warnings

Bug: v8:12244,v8:12245
Change-Id: I98c3f5e4aeed2d2179c61d482999fb498c676639
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3273527
Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77855}
This commit is contained in:
Ng Zhi An 2021-11-10 14:42:21 -08:00 committed by V8 LUCI CQ
parent 0c989949eb
commit c51fc89f7c

View File

@ -411,9 +411,9 @@ struct SharedSwissTableTests {
for (int index : boundary_indices) {
std::string key = "k" + std::to_string(index);
std::string value = "v" + std::to_string(index);
PropertyDetails details = distinct_property_details.at(count++);
PropertyDetails detail = distinct_property_details.at(count++);
s.CheckDataAtKey(Key{key, FakeH1{index + kBigModulus}},
InternalIndex(index), value, details);
InternalIndex(index), value, detail);
}
});
}