Add vector parameter functions to and/or matchers

This commit is contained in:
Jan
2021-11-04 20:31:20 +01:00
parent 69c08def7f
commit 38551f29de
3 changed files with 20 additions and 0 deletions

View File

@ -37,4 +37,9 @@ public:
: m_matchers(std::make_move_iterator(matchers.begin()), std::make_move_iterator(matchers.end()))
{
}
explicit MatcherAnd(std::vector<std::unique_ptr<AbstractMatcher<TokenType>>> matchers)
: m_matchers(std::move(matchers))
{
}
};