Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
update: veil
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroKaku committed Aug 16, 2023
1 parent e3a000b commit ce8da30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/crt/stl/xrngdev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@

_STD_BEGIN
_CRTIMP2_PURE unsigned int __CLRCALL_PURE_OR_CDECL _Random_device() { // return a random value
unsigned int ans;
if (_CSTD rand_s(&ans)) {
_Xout_of_range("invalid random_device value");
}

return ans;
return rand();
}

_STD_END
2 changes: 1 addition & 1 deletion veil
Submodule veil updated from 44e675 to d58e42

0 comments on commit ce8da30

Please sign in to comment.