mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
commit
49401e6d82
@ -267,7 +267,7 @@ void REJ::full_print(FILE *fp) {
|
||||
|
||||
//The REJMAP class has been hacked to use alloc_struct instead of new [].
|
||||
//This is to reduce memory fragmentation only as it is rather kludgy.
|
||||
//alloc_struct by-passes the call to the contsructor of REJ on each
|
||||
//alloc_struct by-passes the call to the constructor of REJ on each
|
||||
//array element. Although the constructor is empty, the BITS16 members
|
||||
//do have a constructor which sets all the flags to 0. The memset
|
||||
//replaces this functionality.
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "input_file_buffer.h"
|
||||
|
||||
namespace tesseract {
|
||||
// default and only contsructor
|
||||
// default and only constructor
|
||||
InputFileBuffer::InputFileBuffer(const string &file_name)
|
||||
: file_name_(file_name) {
|
||||
fp_ = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user