summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-12-05 19:41:56 +0100
committerRoland Reichwein <mail@reichwein.it>2022-12-05 19:41:56 +0100
commit3f3d579c6a6f9a1a31278221f85b3194e3b6c5f4 (patch)
tree8c78404ee5de98cc7eb2d34f76ccbb02b3dbb0dd
parentaffc436c3e7feeb4efa1ae44ab3fdd3e9627187a (diff)
Use whole alphabet and numbers to generate page id
-rw-r--r--whiteboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/whiteboard.cpp b/whiteboard.cpp
index 8df6d73..dd5f1a8 100644
--- a/whiteboard.cpp
+++ b/whiteboard.cpp
@@ -45,7 +45,7 @@ namespace {
{
static std::random_device r;
static std::default_random_engine e1(r());
- static std::uniform_int_distribution<int> uniform_dist(0, 15);
+ static std::uniform_int_distribution<int> uniform_dist(0, 35);
// limit tries
for (int j = 0; j < 100000; j++) {