From e82b2a48a446aae7e857ad0a7923d499a9ad838c Mon Sep 17 00:00:00 2001 From: Jose Renau Date: Mon, 30 May 2022 18:11:04 -0700 Subject: [PATCH] Avoid variable shadowing which can be a compile error depending on compile flags --- absl/container/internal/btree.h | 4 ++-- 1 file 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 struct SearchResult { 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;