aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-21 16:51:39 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-21 16:51:39 +0000
commitbf9f040112c33213910faef40077122f1932d462 (patch)
tree45c3e450f7651f981ea2bf7a155789ee9e73b388 /src
parentfdeabf71601e4ec9ff797e0283d06f9b5b9d8aa5 (diff)
Tweak declaration
I think this is clearer
Diffstat (limited to 'src')
-rw-r--r--src/libstore/derivations.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc
index 1f64086d7..ea57be0aa 100644
--- a/src/libstore/derivations.cc
+++ b/src/libstore/derivations.cc
@@ -404,7 +404,7 @@ DrvHashModulo hashDerivationModulo(Store & store, const Derivation & drv, bool m
},
// CA derivation's output hashes
[&](CaOutputHashes outputHashes) {
- std::set justOut = { std::string("out") };
+ std::set<std::string> justOut = { "out" };
for (auto & output : i.second) {
/* Put each one in with a single "out" output.. */
const auto h = outputHashes.at(output);