Skip to content

Commit 19699b7

Browse files
committed
fixed sample implementation
Fixed compile error
1 parent c21a0d9 commit 19699b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

reference/algorithm/shuffle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void shuffle(RandomAccessIterator first, RandomAccessIterator last, UniformRando
112112

113113
using distance_type = typename iterator_traits<RandomAccessIterator>::difference_type;
114114
using unsigned_type = typename make_unsigned<distance_type>::type;
115-
using distribute_type = typename uniform_int_distribution<unsigned_type>;
115+
using distribute_type = uniform_int_distribution<unsigned_type>;
116116
using param_type = typename distribute_type::param_type;
117117

118118
distribute_type d;

0 commit comments

Comments
 (0)