This commit is contained in:
parent
83dfa89870
commit
1a8eb6e3ec
|
@ -32,8 +32,10 @@ static void showAttrs(EvalState & state, bool strict, bool location,
|
|||
Bindings & attrs, XMLWriter & doc, PathSet & context, PathSet & drvsSeen)
|
||||
{
|
||||
StringSet names;
|
||||
|
||||
foreach (Bindings::iterator, i, attrs)
|
||||
names.insert(i->first);
|
||||
|
||||
foreach (StringSet::iterator, i, names) {
|
||||
Attr & a(attrs[state.symbols.create(*i)]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue