mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-09 06:19:16 +00:00
Fix bug causing vector removal to skip elements
This commit is contained in:
@ -43,6 +43,8 @@ namespace Random
|
||||
RDRANDFlag = cpuid.ECX.RDRAND;
|
||||
}
|
||||
}
|
||||
else
|
||||
RDRANDFlag = 0;
|
||||
}
|
||||
|
||||
if (RDRANDFlag)
|
||||
@ -80,6 +82,8 @@ namespace Random
|
||||
RDRANDFlag = cpuid.ECX.RDRAND;
|
||||
}
|
||||
}
|
||||
else
|
||||
RDRANDFlag = 0;
|
||||
}
|
||||
|
||||
if (RDRANDFlag)
|
||||
@ -117,6 +121,8 @@ namespace Random
|
||||
RDRANDFlag = cpuid.ECX.RDRAND;
|
||||
}
|
||||
}
|
||||
else
|
||||
RDRANDFlag = 0;
|
||||
}
|
||||
|
||||
if (RDRANDFlag)
|
||||
|
Reference in New Issue
Block a user