summaryrefslogtreecommitdiff
path: root/absl/container
diff options
context:
space:
mode:
authorGravatar Jose Renau <renau@ucsc.edu>2022-05-30 18:11:04 -0700
committerGravatar Jose Renau <renau@ucsc.edu>2022-05-30 18:11:04 -0700
commite82b2a48a446aae7e857ad0a7923d499a9ad838c (patch)
tree583bceb862e2262604a172ef78d292b08f4988e6 /absl/container
parent48f72c227b94b06387106f71d4450b31e88e283b (diff)
Avoid variable shadowing which can be a compile error depending on compile flags
Diffstat (limited to 'absl/container')
-rw-r--r--absl/container/internal/btree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/container/internal/btree.h b/absl/container/internal/btree.h
index cb39b161..9215ab44 100644
--- a/absl/container/internal/btree.h
+++ b/absl/container/internal/btree.h
@@ -504,8 +504,8 @@ struct SearchResult {
template <typename V>
struct SearchResult<V, false> {
SearchResult() {}
- explicit SearchResult(V value) : value(value) {}
- SearchResult(V value, MatchKind /*match*/) : value(value) {}
+ explicit SearchResult(V va) : value(va) {}
+ SearchResult(V va, MatchKind /*match*/) : value(va) {}
V value;