From fb39a5e00c03c8fb3b893263e1d2b151c3ba11aa Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 19 Jun 2020 15:11:11 +0000 Subject: [PATCH] Remove unneeded constructor for `DerivationOutputHash` --- src/libstore/derivations.hh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh index 292861065..7b677ca49 100644 --- a/src/libstore/derivations.hh +++ b/src/libstore/derivations.hh @@ -16,10 +16,6 @@ namespace nix { struct DerivationOutputHash { FileIngestionMethod method; Hash hash; - DerivationOutputHash(FileIngestionMethod method, Hash hash) - : method(std::move(method)) - , hash(std::move(hash)) - { } std::string printMethodAlgo() const; };