about summary refs log tree commit diff
path: root/src/libexpr/expr-to-xml.cc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libexpr/expr-to-xml.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/expr-to-xml.cc b/src/libexpr/expr-to-xml.cc
index f5b0e747705c..5c5b81b2383f 100644
--- a/src/libexpr/expr-to-xml.cc
+++ b/src/libexpr/expr-to-xml.cc
@@ -44,7 +44,7 @@ static void printTermAsXML(Expr e, XMLWriter & doc, PathSet & context)
 
     else if (matchAttrs(e, as)) {
         XMLOpenElement _(doc, "attrs");
-        ATermMap attrs(128);
+        ATermMap attrs;
         queryAllAttrs(e, attrs);
         StringSet names;
         for (ATermMap::const_iterator i = attrs.begin(); i != attrs.end(); ++i)