Skip to content

Commit 4db97e8

Browse files
committed
Fix return type
1 parent 3051182 commit 4db97e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/crypt2/hash/detail/hash_file.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace boost::crypt::hash_detail {
2424
#endif
2525

2626
template <typename HasherType, concepts::file_system_path T>
27-
[[nodiscard]] auto hash_file_impl(const T& filepath) -> compat::expected<HasherType, state>
27+
[[nodiscard]] auto hash_file_impl(const T& filepath) -> compat::expected<typename HasherType::return_type, state>
2828
{
2929
if constexpr (std::is_pointer_v<std::remove_cvref_t<T>>)
3030
{

0 commit comments

Comments
 (0)