aboutsummaryrefslogtreecommitdiff
path: root/src/common/Cryptography/CryptoHash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Cryptography/CryptoHash.h')
-rw-r--r--src/common/Cryptography/CryptoHash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/Cryptography/CryptoHash.h b/src/common/Cryptography/CryptoHash.h
index 34b299c1d4f..060dbcd0f4f 100644
--- a/src/common/Cryptography/CryptoHash.h
+++ b/src/common/Cryptography/CryptoHash.h
@@ -54,8 +54,8 @@ namespace Trinity::Impl
return hash.GetDigest();
}
- template <typename... Ts>
- static auto GetDigestOf(Ts&&... pack) -> std::enable_if_t<std::conjunction_v<std::negation<std::is_integral<Ts>>...>, Digest>
+ template <typename... Ts, std::enable_if_t<std::conjunction_v<std::negation<std::is_integral<Ts>>...>, int32> = 0>
+ static Digest GetDigestOf(Ts&&... pack)
{
GenericHash hash;
(hash.UpdateData(std::forward<Ts>(pack)), ...);