Remove all using directives for STL namespace and members
Made all STL usages explicit to be able automatically find all usages of particular class or function.
This commit is contained in:
@@ -537,13 +537,13 @@ void RNG::fill( InputOutputArray _mat, int disttype,
|
||||
ip = (Vec2i*)(parambuf + cn*2);
|
||||
for( j = 0, fast_int_mode = 1; j < cn; j++ )
|
||||
{
|
||||
double a = min(p1[j], p2[j]);
|
||||
double b = max(p1[j], p2[j]);
|
||||
double a = std::min(p1[j], p2[j]);
|
||||
double b = std::max(p1[j], p2[j]);
|
||||
if( saturateRange )
|
||||
{
|
||||
a = max(a, depth == CV_8U || depth == CV_16U ? 0. :
|
||||
a = std::max(a, depth == CV_8U || depth == CV_16U ? 0. :
|
||||
depth == CV_8S ? -128. : depth == CV_16S ? -32768. : (double)INT_MIN);
|
||||
b = min(b, depth == CV_8U ? 256. : depth == CV_16U ? 65536. :
|
||||
b = std::min(b, depth == CV_8U ? 256. : depth == CV_16U ? 65536. :
|
||||
depth == CV_8S ? 128. : depth == CV_16S ? 32768. : (double)INT_MAX);
|
||||
}
|
||||
ip[j][1] = cvCeil(a);
|
||||
@@ -573,8 +573,8 @@ void RNG::fill( InputOutputArray _mat, int disttype,
|
||||
while(((uint64)1 << l) < d)
|
||||
l++;
|
||||
ds[j].M = (unsigned)(((uint64)1 << 32)*(((uint64)1 << l) - d)/d) + 1;
|
||||
ds[j].sh1 = min(l, 1);
|
||||
ds[j].sh2 = max(l - 1, 0);
|
||||
ds[j].sh1 = std::min(l, 1);
|
||||
ds[j].sh2 = std::max(l - 1, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user