diff options
author | Vaci Koblizek <vaci.koblizek@auguration.com> | 2023-03-29 10:44:22 +0100 |
---|---|---|
committer | Vaci Koblizek <vaci.koblizek@auguration.com> | 2023-03-29 10:44:22 +0100 |
commit | ccf7ce26fe6207d7a648715a45985379f772931f (patch) | |
tree | 5f9b025b17a86066d72d499f6aaebbbef01f9191 /src/libutil/hash.hh | |
parent | 957f83207433fec3d9a9b464c6dad0488f3934c8 (diff) |
return string_view from printHashType rather than string
Diffstat (limited to 'src/libutil/hash.hh')
-rw-r--r-- | src/libutil/hash.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.hh b/src/libutil/hash.hh index 00f70a572..38d09646e 100644 --- a/src/libutil/hash.hh +++ b/src/libutil/hash.hh @@ -133,7 +133,7 @@ HashType parseHashType(std::string_view s); std::optional<HashType> parseHashTypeOpt(std::string_view s); /* And the reverse. */ -std::string printHashType(HashType ht); +std::string_view printHashType(HashType ht); union Ctx; |