aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@protonmail.com>2022-02-04 15:09:40 -0700
committerBen Burdette <bburdette@protonmail.com>2022-02-04 15:09:40 -0700
commitdbe3fd3735fa9aeb91720aa34dc447e5d925f3c4 (patch)
treea8b55d7fb2dbd70c10bbd521bc8458c9dbdd77c7 /src/libexpr/nixexpr.cc
parent3ddf864e1b2c5c27b2e6f7203e262c85bf760f7c (diff)
parentbd383d1b6f91c4fe7ac21c52771e92027f649fa0 (diff)
Merge branch 'master' into debug-step
Diffstat (limited to 'src/libexpr/nixexpr.cc')
-rw-r--r--src/libexpr/nixexpr.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc
index f7541d32c..41ee92d27 100644
--- a/src/libexpr/nixexpr.cc
+++ b/src/libexpr/nixexpr.cc
@@ -190,7 +190,7 @@ void ExprConcatStrings::show(std::ostream & str) const
str << "(";
for (auto & i : *es) {
if (first) first = false; else str << " + ";
- str << i.second;
+ str << *i.second;
}
str << ")";
}
@@ -527,7 +527,7 @@ string ExprLambda::showNamePos() const
size_t SymbolTable::totalSize() const
{
size_t n = 0;
- for (auto & i : symbols)
+ for (auto & i : store)
n += i.size();
return n;
}