Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-03-25 14:54:56 +0300
committerSergey Magidovich <mgsergio@mapswithme.com>2016-03-25 14:54:56 +0300
commita277fd0921b93a163b7eda7c842c77d31ed37a37 (patch)
treee2a669895f325f060505afd7ad6c05a83ac06412 /editor
parente717a3aef7b7a4afc89c2862e19d01cfd51e92b3 (diff)
Use more ligheweight rand engine.
Diffstat (limited to 'editor')
-rw-r--r--editor/changeset_wrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/changeset_wrapper.cpp b/editor/changeset_wrapper.cpp
index d9af7cdbaa..467d3dd6d6 100644
--- a/editor/changeset_wrapper.cpp
+++ b/editor/changeset_wrapper.cpp
@@ -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--)