1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Remove some Base:: that crept in

This commit is contained in:
John Ericson 2020-06-19 00:24:47 +00:00
parent 3f8dcfe3fd
commit 3fc58a9638
4 changed files with 5 additions and 5 deletions

View file

@ -31,7 +31,7 @@ template<class... Ts> overloaded(Ts...) -> overloaded<Ts...>;
std::string renderContentAddress(ContentAddress ca) {
return std::visit(overloaded {
[](TextHash th) {
return "text:" + th.hash.to_string(Base::Base32, true);
return "text:" + th.hash.to_string(Base32, true);
},
[](FileSystemHash fsh) {
return makeFixedOutputCA(fsh.method, fsh.hash);