aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/file.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index 87658dd..2a09aea 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -1716,10 +1716,10 @@ namespace build2
dr << "\n ";
- if (const value& v = *l)
+ if (l)
{
storage.clear ();
- auto ns (reverse (v, storage, true /* reduce */));
+ auto ns (reverse (*l, storage, true /* reduce */));
if (f == "multiline")
{