core: random_shuffle is deprecated and not portable
* tests/core/parity.cc: Here.
This commit is contained in:
parent
9e38273172
commit
f31864488b
1 changed files with 4 additions and 4 deletions
|
|
@ -127,7 +127,7 @@ generate_aut(const spot::bdd_dict_ptr& current_bdd)
|
|||
for (auto& t: LAST_AUT->edges())
|
||||
{
|
||||
auto nb_acc = std::rand() % (num_sets - min + 1) + min;
|
||||
std::random_shuffle(cont_sets[num_sets].begin(),
|
||||
spot::mrandom_shuffle(cont_sets[num_sets].begin(),
|
||||
cont_sets[num_sets].end());
|
||||
for (auto j = 0; j < nb_acc; ++j)
|
||||
SET_TR(t, cont_sets[num_sets][j]);
|
||||
|
|
@ -141,7 +141,7 @@ generate_aut(const spot::bdd_dict_ptr& current_bdd)
|
|||
for (auto& t: LAST_AUT->edges())
|
||||
{
|
||||
auto nb_acc = std::rand() % (num_sets - min + 1) + min;
|
||||
std::random_shuffle(cont_sets[num_sets].begin(),
|
||||
spot::mrandom_shuffle(cont_sets[num_sets].begin(),
|
||||
cont_sets[num_sets].end());
|
||||
for (auto j = 0; j < nb_acc; ++j)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue