Skip to content

Commit 7f3314a

Browse files
committed
DerivationBuilder::initialOutputs make const
At one point I remember it did mutatate `initialOutputs`, but not anymore!
1 parent b69576e commit 7f3314a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/libstore/include/nix/store/build/derivation-builder.hh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,7 @@ struct DerivationBuilderParams
7676
*/
7777
const StorePathSet & inputPaths;
7878

79-
/**
80-
* @note we do in fact mutate this
81-
*/
82-
std::map<std::string, InitialOutput> & initialOutputs;
79+
const std::map<std::string, InitialOutput> & initialOutputs;
8380

8481
const BuildMode & buildMode;
8582

0 commit comments

Comments
 (0)