We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95350f9 commit f26fd21Copy full SHA for f26fd21
tests/benchmark/benchmark_helpers.cc
@@ -5,10 +5,7 @@
5
6
std::string GenerateRandomString(size_t length) {
7
auto randchar = []() -> char {
8
- const char charset[] =
9
- "0123456789"
10
- "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
11
- "abcdefghijklmnopqrstuvwxyz";
+ const char charset[] = "abcdefghijklmnopqrstuvwxyz";
12
const size_t max_index = (sizeof(charset) - 1);
13
return charset[rand() % max_index];
14
};
0 commit comments