Commit 9402bd32 by Abseil Team Committed by Copybara-Service

Fix typo

PiperOrigin-RevId: 544401753
Change-Id: Ie5bb48bb46c8c1bf41ef902242cefefd739e7c37
parent 53fbcb88
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment