aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-substitute-ctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/expand/rust-macro-substitute-ctx.h')
-rw-r--r--gcc/rust/expand/rust-macro-substitute-ctx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/expand/rust-macro-substitute-ctx.h b/gcc/rust/expand/rust-macro-substitute-ctx.h
index ed83926..e89f9d7 100644
--- a/gcc/rust/expand/rust-macro-substitute-ctx.h
+++ b/gcc/rust/expand/rust-macro-substitute-ctx.h
@@ -24,12 +24,12 @@ class SubstituteCtx
{
std::vector<std::unique_ptr<AST::Token>> &input;
std::vector<std::unique_ptr<AST::Token>> &macro;
- std::map<std::string, std::vector<MatchedFragment>> &fragments;
+ std::map<std::string, MatchedFragmentContainer> &fragments;
public:
SubstituteCtx (std::vector<std::unique_ptr<AST::Token>> &input,
std::vector<std::unique_ptr<AST::Token>> &macro,
- std::map<std::string, std::vector<MatchedFragment>> &fragments)
+ std::map<std::string, MatchedFragmentContainer> &fragments)
: input (input), macro (macro), fragments (fragments)
{}