Address compiler warnings #10
Some checks failed
BlockStorage/repertory_osx/pipeline/head There was a failure building this commit
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good

This commit is contained in:
2023-10-30 19:33:18 -05:00
parent bb5a9f9737
commit f94196d865
4 changed files with 316 additions and 309 deletions

View File

@@ -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;