Commit 6f11c87
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 ce98f32 commit 6f11c87
1 file changed
+4
-2
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 | | |
| |||
2999 | 3000 | | |
3000 | 3001 | | |
3001 | 3002 | | |
3002 | | - | |
3003 | | - | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
3004 | 3006 | | |
3005 | 3007 | | |
3006 | 3008 | | |
| |||
0 commit comments