We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3051182 commit 4db97e8Copy full SHA for 4db97e8
include/boost/crypt2/hash/detail/hash_file.hpp
@@ -24,7 +24,7 @@ namespace boost::crypt::hash_detail {
24
#endif
25
26
template <typename HasherType, concepts::file_system_path T>
27
-[[nodiscard]] auto hash_file_impl(const T& filepath) -> compat::expected<HasherType, state>
+[[nodiscard]] auto hash_file_impl(const T& filepath) -> compat::expected<typename HasherType::return_type, state>
28
{
29
if constexpr (std::is_pointer_v<std::remove_cvref_t<T>>)
30
0 commit comments