diff --git a/src/training/unicharset/fileio.h b/src/training/unicharset/fileio.h index 71901b6ef..710830749 100644 --- a/src/training/unicharset/fileio.h +++ b/src/training/unicharset/fileio.h @@ -17,8 +17,7 @@ #define TESSERACT_TRAINING_FILEIO_H_ #include "export.h" - -#include "genericvector.h" // for GenericVector +#include "serialis.h" // for LoadDataFromFile #include "strngs.h" // for STRING #include @@ -33,7 +32,7 @@ namespace tesseract { // TODO: Use std::vector and std::string for LoadFileLinesToStrings. inline bool LoadFileLinesToStrings(const char* filename, std::vector* lines) { - GenericVector data; + std::vector data; if (!LoadDataFromFile(filename, &data)) { return false; }