Skip to content

Commit 5230ea8

Browse files
authored
Fix: randomize compilation (#170)
1 parent 388339b commit 5230ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/stringzilla/stringzilla.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3766,7 +3766,7 @@ void randomize(basic_string_slice<char_type_> string, generator_type_ &generator
37663766
*/
37673767
template <typename char_type_>
37683768
void randomize(basic_string_slice<char_type_> string, string_view alphabet = "abcdefghijklmnopqrstuvwxyz") noexcept {
3769-
randomize(string, &std::rand, alphabet);
3769+
randomize(string, std::rand, alphabet);
37703770
}
37713771

37723772
using sorted_idx_t = sz_sorted_idx_t;

0 commit comments

Comments
 (0)