Skip to content

Commit f26fd21

Browse files
committed
Fix randomly generated labels
1 parent 95350f9 commit f26fd21

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/benchmark/benchmark_helpers.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55

66
std::string GenerateRandomString(size_t length) {
77
auto randchar = []() -> char {
8-
const char charset[] =
9-
"0123456789"
10-
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
11-
"abcdefghijklmnopqrstuvwxyz";
8+
const char charset[] = "abcdefghijklmnopqrstuvwxyz";
129
const size_t max_index = (sizeof(charset) - 1);
1310
return charset[rand() % max_index];
1411
};

0 commit comments

Comments
 (0)