Commit bb2dc79
committed
fix(storage): no char for
TIL: it is undefined behavior to use `std::uniform_int_distribution<>`
with `char`, `unsigned char`, and its aliases. And some platforms
enforce this.std::uniform_int_distribution
1 parent ae55c11 commit bb2dc79
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments