mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
libexpr: Remove non-const iterators of Bindings
This commit is contained in:
parent
1907a3300f
commit
e75501da3e
2 changed files with 1 additions and 14 deletions
|
|
@ -35,8 +35,7 @@ Value & BindingsBuilder::alloc(std::string_view name, PosIdx pos)
|
|||
|
||||
void Bindings::sort()
|
||||
{
|
||||
if (size_)
|
||||
std::sort(begin(), end());
|
||||
std::sort(attrs, attrs + size_);
|
||||
}
|
||||
|
||||
Value & Value::mkAttrs(BindingsBuilder & bindings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue