1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

Merge pull request #13633 from NixOS/mergify/bp/2.29-maintenance/pr-13360

libexpr: Remove non-const overload of `listElems` (backport #13360)
This commit is contained in:
mergify[bot] 2025-07-31 02:11:56 +00:00 committed by GitHub
commit b0169fdc5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -451,11 +451,6 @@ public:
return internalType == tList1 || internalType == tList2 || internalType == tListN;
}
Value * const * listElems()
{
return internalType == tList1 || internalType == tList2 ? payload.smallList : payload.bigList.elems;
}
std::span<Value * const> listItems() const
{
assert(isList());