diff options
author | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-07-01 18:34:18 -0400 |
---|---|---|
committer | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-07-01 18:34:18 -0400 |
commit | 263ccdd48923b730fd7e6f687583160d7b24039b (patch) | |
tree | 156305c1928adae6f67ff1aacd2c55a0a0097a24 /src/nix/hash.cc | |
parent | c8c4bcf90e065b47c3ee2984b1f8ff696da889af (diff) |
Rename two hash constructors to proper functions
Diffstat (limited to 'src/nix/hash.cc')
-rw-r--r-- | src/nix/hash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/hash.cc b/src/nix/hash.cc index b97c6d21f..fb0843ce2 100644 --- a/src/nix/hash.cc +++ b/src/nix/hash.cc @@ -103,7 +103,7 @@ struct CmdToBase : Command void run() override { for (auto s : args) - logger->stdout(Hash(s, ht).to_string(base, base == SRI)); + logger->stdout(Hash::parseAny(s, ht).to_string(base, base == SRI)); } }; |