Skip to content

Commit

Permalink
Fix two typos in comments
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Dec 11, 2016
1 parent 0c7ada4 commit a87d073
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ccstruct/rejctmap.cpp
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion neural_networks/runtime/input_file_buffer.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit a87d073

Please sign in to comment.