diff --git a/src/rcldb/termproc.h b/src/rcldb/termproc.h index e5235dbc..b207880c 100644 --- a/src/rcldb/termproc.h +++ b/src/rcldb/termproc.h @@ -17,6 +17,9 @@ #ifndef _TERMPROC_H_INCLUDED_ #define _TERMPROC_H_INCLUDED_ +#include +#include + #include "textsplit.h" #include "stoplist.h" #include "smallut.h" @@ -164,9 +167,9 @@ public: } } if (hasspace) { - vector terms; + std::vector terms; stringToTokens(otrm, terms, " ", true); - for (vector::const_iterator it = terms.begin(); + for (std::vector::const_iterator it = terms.begin(); it < terms.end(); it++) { if (!TermProc::takeword(*it, pos, bs, be)) { return false;