Remove unused method TessdataManager::LoadFileLater

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2017-05-11 21:44:50 +02:00
parent 65b839e1aa
commit db8750e94e
2 changed files with 0 additions and 10 deletions

View File

@ -33,13 +33,6 @@
namespace tesseract {
// Lazily loads from the the given filename. Won't actually read the file
// until it needs it.
void TessdataManager::LoadFileLater(const char *data_file_name) {
Clear();
data_file_name_ = data_file_name;
}
bool TessdataManager::Init(const char *data_file_name) {
GenericVector<char> data;
if (reader_ == nullptr) {

View File

@ -128,9 +128,6 @@ class TessdataManager {
bool swap() const { return swap_; }
bool is_loaded() const { return is_loaded_; }
// Lazily loads from the the given filename. Won't actually read the file
// until it needs it.
void LoadFileLater(const char *data_file_name);
/**
* Opens and reads the given data file right now.
* @return true on success.