Changeset c735afb in mainline for uspace/lib/cpp/include/__bits/random.hpp
- Timestamp:
- 2018-07-05T21:41:24Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 199b6d8
- Parents:
- b57a3ee
- git-author:
- Dzejrou <dzejrou@…> (2018-06-25 18:54:33)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/__bits/random.hpp
rb57a3ee rc735afb 1030 1030 * something better. 1031 1031 */ 1032 hel::srand om(hel::time(nullptr));1032 hel::srand(hel::time(nullptr)); 1033 1033 } 1034 1034 1035 1035 result_type operator()() 1036 1036 { 1037 return hel::rand om();1037 return hel::rand(); 1038 1038 } 1039 1039
Note:
See TracChangeset
for help on using the changeset viewer.