From 9402bd32fbb24f762f7923ece6afe131a5b57f35 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Thu, 29 Jun 2023 10:48:43 -0700 Subject: Fix typo PiperOrigin-RevId: 544401753 Change-Id: Ie5bb48bb46c8c1bf41ef902242cefefd739e7c37 --- absl/container/internal/raw_hash_set_benchmark.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/container/internal') 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 std::string operator()(RNG& rng) const { std::string res; - res.resize(12); + res.resize(size); std::uniform_int_distribution printable_ascii(0x20, 0x7E); std::generate(res.begin(), res.end(), [&] { return printable_ascii(rng); }); return res; -- cgit v1.2.3