mirror of
https://github.com/NixOS/nix
synced 2025-06-29 02:11:15 +02:00
Remove some Base::
that crept in
This commit is contained in:
parent
3f8dcfe3fd
commit
3fc58a9638
4 changed files with 5 additions and 5 deletions
|
@ -223,7 +223,7 @@ Hash newHashAllowEmpty(std::string hashStr, std::optional<HashType> ht)
|
|||
if (!ht)
|
||||
throw BadHash("empty hash requires explicit hash type");
|
||||
Hash h(*ht);
|
||||
warn("found empty hash, assuming '%s'", h.to_string(Base::SRI, true));
|
||||
warn("found empty hash, assuming '%s'", h.to_string(SRI, true));
|
||||
return h;
|
||||
} else
|
||||
return Hash(hashStr, ht);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue