Changeset 52acfab in mainline for uspace/lib/cpp/include/__bits/random.hpp
- Timestamp:
- 2019-05-28T19:24:14Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77de449e
- Parents:
- af5037d (diff), bebd154 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-28 19:24:14)
- git-committer:
- GitHub <noreply@…> (2019-05-28 19:24:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/__bits/random.hpp
raf5037d r52acfab 1030 1030 * something better. 1031 1031 */ 1032 hel::srand(hel::time(nullptr));1032 ::srand(::time(nullptr)); 1033 1033 } 1034 1034 1035 1035 result_type operator()() 1036 1036 { 1037 return hel::rand();1037 return ::rand(); 1038 1038 } 1039 1039
Note:
See TracChangeset
for help on using the changeset viewer.