Skip to content

Commit a87d073

Browse files
committed
Fix two typos in comments
Signed-off-by: Stefan Weil <[email protected]>
1 parent 0c7ada4 commit a87d073

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ccstruct/rejctmap.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ void REJ::full_print(FILE *fp) {
267267

268268
//The REJMAP class has been hacked to use alloc_struct instead of new [].
269269
//This is to reduce memory fragmentation only as it is rather kludgy.
270-
//alloc_struct by-passes the call to the contsructor of REJ on each
270+
//alloc_struct by-passes the call to the constructor of REJ on each
271271
//array element. Although the constructor is empty, the BITS16 members
272272
//do have a constructor which sets all the flags to 0. The memset
273273
//replaces this functionality.

neural_networks/runtime/input_file_buffer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "input_file_buffer.h"
1919

2020
namespace tesseract {
21-
// default and only contsructor
21+
// default and only constructor
2222
InputFileBuffer::InputFileBuffer(const string &file_name)
2323
: file_name_(file_name) {
2424
fp_ = NULL;

0 commit comments

Comments
 (0)