mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Mark Value pointers in Value::elems as const
This catches modification of finalized values (e.g. in prim_sort).
This commit is contained in:
parent
fecff520d7
commit
3e6730ee62
4 changed files with 7 additions and 6 deletions
|
@ -671,7 +671,7 @@ public:
|
|||
const SingleDerivedPath & p,
|
||||
Value & v);
|
||||
|
||||
void concatLists(Value & v, size_t nrLists, Value * * lists, const PosIdx pos, std::string_view errorCtx);
|
||||
void concatLists(Value & v, size_t nrLists, Value * const * lists, const PosIdx pos, std::string_view errorCtx);
|
||||
|
||||
/**
|
||||
* Print statistics, if enabled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue