mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-04 01:39:16 +08:00
genericvector: Remove redundant declarations
tesseract::FileReader and tesseract::FileWriter are already declared in serialis.h which is included by genericvector.h. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
54abc780fa
commit
d653bb61f3
@ -340,12 +340,6 @@ class GenericVector {
|
||||
|
||||
namespace tesseract {
|
||||
|
||||
// Function to read a GenericVector<char> from a whole file.
|
||||
// Returns false on failure.
|
||||
using FileReader = bool (*)(const STRING&, GenericVector<char>*);
|
||||
// Function to write a GenericVector<char> to a whole file.
|
||||
// Returns false on failure.
|
||||
using FileWriter = bool (*)(const GenericVector<char>&, const STRING&);
|
||||
// The default FileReader loads the whole file into the vector of char,
|
||||
// returning false on error.
|
||||
inline bool LoadDataFromFile(const char* filename, GenericVector<char>* data) {
|
||||
|
Loading…
Reference in New Issue
Block a user