aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r--src/libstore/derivations.hh12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index 838b63358..b2f3ff03b 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -17,13 +17,6 @@ struct DerivationOutput
{
StorePath path;
std::optional<FileSystemHash> hash; /* hash used for expected hash computation */
- DerivationOutput(StorePath && path, std::optional<FileSystemHash> && hash)
- : path(std::move(path))
- , hash(std::move(hash))
- { }
- DerivationOutput(const DerivationOutput &) = default;
- DerivationOutput(DerivationOutput &&) = default;
- DerivationOutput & operator = (const DerivationOutput &) = default;
};
typedef std::map<string, DerivationOutput> DerivationOutputs;
@@ -44,7 +37,6 @@ struct BasicDerivation
StringPairs env;
BasicDerivation() { }
- explicit BasicDerivation(const BasicDerivation & other);
virtual ~BasicDerivation() { };
/* Return the path corresponding to the output identifier `id' in
@@ -59,6 +51,8 @@ struct BasicDerivation
/* Return the output paths of a derivation. */
StorePathSet outputPaths() const;
+ /* Return the output names of a derivation. */
+ StringSet outputNames() const;
};
struct Derivation : BasicDerivation
@@ -70,8 +64,6 @@ struct Derivation : BasicDerivation
std::map<std::string, StringSet> * actualInputs = nullptr) const;
Derivation() { }
- Derivation(Derivation && other) = default;
- explicit Derivation(const Derivation & other);
};