aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/script/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/test/script/parser.cxx')
-rw-r--r--libbuild2/test/script/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/test/script/parser.cxx b/libbuild2/test/script/parser.cxx
index 06cefc7..86a73f1 100644
--- a/libbuild2/test/script/parser.cxx
+++ b/libbuild2/test/script/parser.cxx
@@ -2292,7 +2292,7 @@ namespace build2
// testscript:2:5: info: while parsing string '1>&a'
//
auto df = make_diag_frame (
- [s, &l](const diag_record& dr)
+ [this, s, &l](const diag_record& dr)
{
dr << info (l) << "while parsing string '" << s << "'";
});