diff options
author | Abseil Team <absl-team@google.com> | 2023-06-29 10:48:43 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-06-29 10:49:39 -0700 |
commit | 9402bd32fbb24f762f7923ece6afe131a5b57f35 (patch) | |
tree | 29ad5e47dd0b3d8c8687198dc6c42a585a5cc3bb | |
parent | 53fbcb883dc8ca208dc58a8cc168d0628fe2556f (diff) |
Fix typo
PiperOrigin-RevId: 544401753
Change-Id: Ie5bb48bb46c8c1bf41ef902242cefefd739e7c37
-rw-r--r-- | absl/container/internal/raw_hash_set_benchmark.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/container/internal/raw_hash_set_benchmark.cc b/absl/container/internal/raw_hash_set_benchmark.cc index f77f2a7b..a3647890 100644 --- a/absl/container/internal/raw_hash_set_benchmark.cc +++ b/absl/container/internal/raw_hash_set_benchmark.cc @@ -142,7 +142,7 @@ struct string_generator { template <class RNG> std::string operator()(RNG& rng) const { std::string res; - res.resize(12); + res.resize(size); std::uniform_int_distribution<uint32_t> printable_ascii(0x20, 0x7E); std::generate(res.begin(), res.end(), [&] { return printable_ascii(rng); }); return res; |