forked from organicmaps/organicmaps
Merge pull request #2525 from mgsergio/master
[editor] Use more ligheweight rand engine.
This commit is contained in:
commit
7b8d45300d
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ vector<m2::PointD> NaiveSample(vector<m2::PointD> const & source, size_t count)
|
|||
vector<size_t> indexes;
|
||||
indexes.reserve(count);
|
||||
|
||||
mt19937 engine;
|
||||
minstd_rand engine;
|
||||
uniform_int_distribution<> distrib(0, source.size());
|
||||
|
||||
while (count--)
|
||||
|
|
Loading…
Add table
Reference in a new issue