Skip to content

Commit 40dd86f

Browse files
committed
random: use BasicByte concept in randbytes
1 parent 27cefc7 commit 40dd86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/random.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class FastRandomContext
212212
}
213213

214214
/** Generate random bytes. */
215-
template <typename B = unsigned char>
215+
template <BasicByte B = unsigned char>
216216
std::vector<B> randbytes(size_t len) noexcept
217217
{
218218
std::vector<B> ret(len);

0 commit comments

Comments
 (0)