diff options
author | Treeston <treeston.mmoc@gmail.com> | 2020-03-19 17:18:01 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-24 00:37:21 +0100 |
commit | ea0aa63d96cac461dd0b473437f1143898d3c3b5 (patch) | |
tree | 036839443a9df03bdce5df5f55ecd449ba8daf94 /src/common/Cryptography/CryptoRandom.h | |
parent | 632609b897c7268bd18997633019dde98dd2e6d6 (diff) |
Core/Misc: C++17 cleanups, commit 2, the advstd commit
(cherry picked from commit 857f8d9231d148d4f2def9c83548b40059923029)
Diffstat (limited to 'src/common/Cryptography/CryptoRandom.h')
-rw-r--r-- | src/common/Cryptography/CryptoRandom.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/Cryptography/CryptoRandom.h b/src/common/Cryptography/CryptoRandom.h index da8498a1fa4..67abf684788 100644 --- a/src/common/Cryptography/CryptoRandom.h +++ b/src/common/Cryptography/CryptoRandom.h @@ -20,7 +20,6 @@ #include "Define.h" #include <array> -#include "advstd.h" namespace Trinity { @@ -31,7 +30,7 @@ namespace Crypto template <typename Container> void GetRandomBytes(Container& c) { - GetRandomBytes(advstd::data(c), advstd::size(c)); + GetRandomBytes(std::data(c), std::size(c)); } template <size_t S> |