diff options
Diffstat (limited to 'SwifTools/SpellParser.cpp')
-rw-r--r-- | SwifTools/SpellParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SwifTools/SpellParser.cpp b/SwifTools/SpellParser.cpp index 8f5120b..440e2a1 100644 --- a/SwifTools/SpellParser.cpp +++ b/SwifTools/SpellParser.cpp @@ -36,7 +36,7 @@ struct counter typedef bool result_type; // the function operator gets called for each of the matched tokens template <typename Token> - bool operator()(Token const& t, PositionPairVector& wordPositions, std::size_t& position) const + bool operator()(Token const& t, PositionPairList& wordPositions, std::size_t& position) const { switch (t.id()) { case ID_WWW: @@ -57,7 +57,7 @@ struct counter } }; -void SpellParser::check(const std::string& fragment, PositionPairVector& wordPositions) { +void SpellParser::check(const std::string& fragment, PositionPairList& wordPositions) { std::size_t position = 0; // create the token definition instance needed to invoke the lexical analyzer word_count_tokens<lex::lexertl::lexer<> > word_count_functor; |