File tree 2 files changed +0
-10
lines changed
2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change 33
33
34
34
namespace tesseract {
35
35
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
-
43
36
bool TessdataManager::Init (const char *data_file_name) {
44
37
GenericVector<char > data;
45
38
if (reader_ == nullptr ) {
Original file line number Diff line number Diff line change @@ -128,9 +128,6 @@ class TessdataManager {
128
128
bool swap () const { return swap_; }
129
129
bool is_loaded () const { return is_loaded_; }
130
130
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);
134
131
/* *
135
132
* Opens and reads the given data file right now.
136
133
* @return true on success.
You can’t perform that action at this time.
0 commit comments