aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-24 15:08:16 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-01-24 15:08:16 +0100
commitc4fc9b6a8d4fa279206814295729985dac7bc509 (patch)
tree66da0911a254615b280d8f036d3e9c1c9b8c30b1 /src/libexpr
parent3ff6186af1786bd08217bd0b29afb95eacec0f47 (diff)
ExprConcatStrings::show(): Print values instead of pointers
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/nixexpr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc
index 640c44c01..2d2cd96cd 100644
--- a/src/libexpr/nixexpr.cc
+++ b/src/libexpr/nixexpr.cc
@@ -191,7 +191,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 << ")";
}