diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-19 11:10:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-19 11:10:53 +0200 |
commit | 9034f7c51ef6437ce9d4547ba5bde217b4740fb2 (patch) | |
tree | bfaa297fda78b6cafe4487e2281420a4cf77c81a /tests/recipe | |
parent | 457f65414031f45174f3c35230a0c0e1de88b51a (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')
-rw-r--r-- | tests/recipe/cxx/testscript | 4 |
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) { |