Commit a950e7a
committed
TEST/IODEMO: Use std::shuffle when available
random_shuffle was deprecated in C++14 and completely removed in C++17.
With newer compilers like Clang 21, the build fails. This commit should
preserve older behavior and use std::shuffle when available.
Signed-off-by: Brahmajit Das <[email protected]>1 parent 3c12be3 commit a950e7a
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
2998 | 2999 | | |
2999 | 3000 | | |
3000 | 3001 | | |
3001 | | - | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
3002 | 3010 | | |
3003 | 3011 | | |
| 3012 | + | |
3004 | 3013 | | |
3005 | 3014 | | |
3006 | 3015 | | |
| |||
0 commit comments