Skip to content

Commit

Permalink
Remove unused method TessdataManager::LoadFileLater
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed May 13, 2017
1 parent 65b839e commit db8750e
Showing 2 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions ccutil/tessdatamanager.cpp
Original file line number Diff line number Diff line change
@@ -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) {
3 changes: 0 additions & 3 deletions ccutil/tessdatamanager.h
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit db8750e

Please sign in to comment.