Skip to content

Commit db8750e

Browse files
committed
Remove unused method TessdataManager::LoadFileLater
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 65b839e commit db8750e

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

ccutil/tessdatamanager.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@
3333

3434
namespace tesseract {
3535

36-
// Lazily loads from the the given filename. Won't actually read the file
37-
// until it needs it.
38-
void TessdataManager::LoadFileLater(const char *data_file_name) {
39-
Clear();
40-
data_file_name_ = data_file_name;
41-
}
42-
4336
bool TessdataManager::Init(const char *data_file_name) {
4437
GenericVector<char> data;
4538
if (reader_ == nullptr) {

ccutil/tessdatamanager.h

-3
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@ class TessdataManager {
128128
bool swap() const { return swap_; }
129129
bool is_loaded() const { return is_loaded_; }
130130

131-
// Lazily loads from the the given filename. Won't actually read the file
132-
// until it needs it.
133-
void LoadFileLater(const char *data_file_name);
134131
/**
135132
* Opens and reads the given data file right now.
136133
* @return true on success.

0 commit comments

Comments
 (0)