Remove unused method TessdataManager::OverwriteEntry

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

View File

@ -80,14 +80,6 @@ bool TessdataManager::LoadMemBuffer(const char *name, const char *data,
return true;
}
// Overwrites a single entry of the given type.
void TessdataManager::OverwriteEntry(TessdataType type, const char *data,
int size) {
is_loaded_ = true;
entries_[type].resize_no_init(size);
memcpy(&entries_[type][0], data, size);
}
// Saves to the given filename.
bool TessdataManager::SaveFile(const STRING &filename,
FileWriter writer) const {

View File

@ -139,8 +139,6 @@ class TessdataManager {
// Loads from the given memory buffer as if a file, remembering name as some
// arbitrary source id for caching.
bool LoadMemBuffer(const char *name, const char *data, int size);
// Overwrites a single entry of the given type.
void OverwriteEntry(TessdataType type, const char *data, int size);
// Saves to the given filename.
bool SaveFile(const STRING &filename, FileWriter writer) const;