diff options
author | Treeston <treeston.mmoc@gmail.com> | 2020-07-29 00:07:41 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2020-08-03 21:16:30 +0200 |
commit | 77380f032b772ff180b6b663d241079a12eb608b (patch) | |
tree | 0a365577d58950c6e79dc451a63b6f559761a155 /src/common/Cryptography/CryptoHash.h | |
parent | ac37ca040be8f5beaad4e94a613534fa643c04c9 (diff) |
Core/Authserver: Split SRP6 into its own file (PR #25131)
(cherry picked from commit 7f7fa8b23d71297f75ff4ca3c1d6e38333a5cc76)
Diffstat (limited to 'src/common/Cryptography/CryptoHash.h')
-rw-r--r-- | src/common/Cryptography/CryptoHash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Cryptography/CryptoHash.h b/src/common/Cryptography/CryptoHash.h index bb9fbc51c15..991bf15944e 100644 --- a/src/common/Cryptography/CryptoHash.h +++ b/src/common/Cryptography/CryptoHash.h @@ -78,7 +78,7 @@ namespace Impl public: template <typename... Ts> - static auto GetDigestOf(Ts&&... pack) -> /*std::enable_if_t<!(std::is_integral_v<std::decay_t<Ts>> || ...),*/ Digest/*>*/ + static auto GetDigestOf(Ts&&... pack) -> std::enable_if_t<advstd::conjunction<advstd::negation<std::is_integral<Ts>>...>::value, Digest> { GenericHash hash; UpdateData_OLDCPP(hash, std::forward<Ts>(pack)...); |