mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 06:22:42 +01:00
return string_view from printHashType rather than string
This commit is contained in:
parent
957f832074
commit
ccf7ce26fe
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue