Spaces:
Sleeping
Sleeping
server : fix build (#2718)
Browse files
examples/server/server.cpp
CHANGED
|
@@ -228,7 +228,7 @@ std::string generate_temp_filename(const std::string &prefix, const std::string
|
|
| 228 |
auto now_time_t = std::chrono::system_clock::to_time_t(now);
|
| 229 |
|
| 230 |
static std::mt19937 rng{std::random_device{}()};
|
| 231 |
-
std::uniform_int_distribution<long long> dist(0,
|
| 232 |
|
| 233 |
std::stringstream ss;
|
| 234 |
ss << prefix
|
|
|
|
| 228 |
auto now_time_t = std::chrono::system_clock::to_time_t(now);
|
| 229 |
|
| 230 |
static std::mt19937 rng{std::random_device{}()};
|
| 231 |
+
std::uniform_int_distribution<long long> dist(0, 1e9);
|
| 232 |
|
| 233 |
std::stringstream ss;
|
| 234 |
ss << prefix
|