Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Fixed usage of non-standard name (from msvc's stl)
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaim committed Apr 14, 2023
1 parent 5ae7679 commit d0bd751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proto1-model/proto1-model/actors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace proto1::model::actors

if(allow_waiting)
{
std::uniform_int percent_chance { 1, 100 };
std::uniform_int_distribution<int> percent_chance { 1, 100 };
if (percent_chance(rng_gen) >= 50)
return actions::Wait{};
}
Expand Down

0 comments on commit d0bd751

Please sign in to comment.