mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
e5e1215114
OCP is a Python wrapper for OCCT (OpenCascade) generated using pywrap primarily used by CadQuery. WWW: https://github.com/CadQuery/OCP PR: 248202 Submitted by: Neal Nelson <ports@nicandneal.net>
12 lines
400 B
C++
12 lines
400 B
C++
--- OCCT/OpenGl_HaltonSampler.hxx.orig 2020-06-15 08:29:45 UTC
|
|
+++ OCCT/OpenGl_HaltonSampler.hxx
|
|
@@ -180,7 +180,7 @@ void OpenGl_HaltonSampler::initRandom (Random_number_g
|
|
{
|
|
aPerms[aBase][i] = i;
|
|
}
|
|
- std::random_shuffle (aPerms[aBase].begin(), aPerms[aBase].end(), theRand);
|
|
+ std::shuffle (aPerms[aBase].begin(), aPerms[aBase].end(), theRand);
|
|
}
|
|
initTables (aPerms);
|
|
}
|