Address compiler warnings #10
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
|
||||
#include <sodium.h>
|
||||
template <typename data_type>
|
||||
[[nodiscard]] constexpr auto repertory_rand() -> data_type {
|
||||
[[nodiscard]] inline auto repertory_rand() -> data_type {
|
||||
data_type ret{};
|
||||
randombytes_buf(&ret, sizeof(ret));
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user