diff options
Diffstat (limited to 'src/other_tools/utils')
-rw-r--r-- | src/other_tools/utils/content.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/utils/content.hpp b/src/other_tools/utils/content.hpp index eb6aca76..15268daf 100644 --- a/src/other_tools/utils/content.hpp +++ b/src/other_tools/utils/content.hpp @@ -86,10 +86,10 @@ return *data; } -template <Hasher::HashType type> +template <Hasher::HashType kType> [[nodiscard]] static auto GetContentHash(std::string const& data) noexcept -> std::string { - auto hasher = Hasher::Create(type); + auto hasher = Hasher::Create(kType); hasher->Update(data); auto digest = std::move(*hasher).Finalize(); return digest.HexString(); |