aboutsummaryrefslogtreecommitdiff
path: root/pw_tokenizer/base64_test.cc
diff options
context:
space:
mode:
authorArmando Montanez <amontanez@google.com>2020-05-01 18:29:22 -0700
committerCQ Bot Account <commit-bot@chromium.org>2020-05-04 17:10:25 +0000
commit888370ddd8ee33001361efe4d5ee7c989c2d1822 (patch)
treebebe44d98a79bc3f092ffd2c39119beaa0c1256c /pw_tokenizer/base64_test.cc
parentecdcf581c98763d47b76502f3beab8bf241a38f8 (diff)
downloadpigweed-888370ddd8ee33001361efe4d5ee7c989c2d1822.tar.gz
Enable -Wshadow
Enable -Wshadow for upstream pigweed to improve compatibility with projects that decide to enable this flag. Change-Id: I7e1ce22f245e719ec78118370e591437abe07f0a
Diffstat (limited to 'pw_tokenizer/base64_test.cc')
-rw-r--r--pw_tokenizer/base64_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pw_tokenizer/base64_test.cc b/pw_tokenizer/base64_test.cc
index 4cf6b183d..8a6f8b6fe 100644
--- a/pw_tokenizer/base64_test.cc
+++ b/pw_tokenizer/base64_test.cc
@@ -33,8 +33,8 @@ class PrefixedBase64 : public ::testing::Test {
const struct TestData {
template <size_t kSize>
- TestData(const char (&binary)[kSize], const char* base64)
- : binary{as_bytes(span(binary, kSize - 1))}, base64(base64) {}
+ TestData(const char (&binary_data)[kSize], const char* base64_data)
+ : binary{as_bytes(span(binary_data, kSize - 1))}, base64(base64_data) {}
span<const std::byte> binary;
std::string_view base64;