Skip to content

Commit

Permalink
fix VS2010 build;
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Feb 5, 2015
1 parent 9bca55c commit 15d4836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ccmain/resultiterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ResultIterator::ResultIterator(const LTRResultIterator &resit)
: LTRResultIterator(resit) {
in_minor_direction_ = false;
at_beginning_of_minor_run_ = false;
preserve_interword_spaces_ = false;

BoolParam *p = ParamUtils::FindParam<BoolParam>(
"preserve_interword_spaces", GlobalParams()->bool_params,
Expand Down
2 changes: 1 addition & 1 deletion ccmain/resultiterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class TESS_API ResultIterator : public LTRResultIterator {
* Should detected inter-word spaces be preserved, or "compressed" to a single
* space character (default behavior).
*/
bool preserve_interword_spaces_ = false;
bool preserve_interword_spaces_;
};

} // namespace tesseract.
Expand Down

0 comments on commit 15d4836

Please sign in to comment.