aboutsummaryrefslogtreecommitdiff
path: root/tests/recipe/cxx/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-04-19 11:10:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-04-19 11:10:53 +0200
commit9034f7c51ef6437ce9d4547ba5bde217b4740fb2 (patch)
treebfaa297fda78b6cafe4487e2281420a4cf77c81a /tests/recipe/cxx/testscript
parent457f65414031f45174f3c35230a0c0e1de88b51a (diff)
Use target recipe for auxiliary data storage during match-apply
In particular, we now have separate auxiliary data storage for inner and outer operations.
Diffstat (limited to 'tests/recipe/cxx/testscript')
-rw-r--r--tests/recipe/cxx/testscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/recipe/cxx/testscript b/tests/recipe/cxx/testscript
index c94148e..214468f 100644
--- a/tests/recipe/cxx/testscript
+++ b/tests/recipe/cxx/testscript
@@ -180,9 +180,9 @@ if (!$static && $test.target == $build.host)
--
recipe
- apply (action, target& t) const override
+ apply (action a, target& t) const override
{
- const auto& mrs (t.data<regex_match_results> ());
+ const auto& mrs (t.data<regex_match_results> (a));
return [this, mr = mrs.str (1)] (action a, const target& t)
{