mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-08-27 22:15:02 +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