mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
Remove unused method TessdataManager::LoadFileLater
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
65b839e1aa
commit
db8750e94e
@ -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) {
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user