mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-13 16:09:04 +08:00
unittest: Initialize non-static class members in RecodeBeamTest (CID 1402765)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
854772147c
commit
69cbda6196
@ -342,8 +342,8 @@ class RecodeBeamTest : public ::testing::Test {
|
|||||||
return outputs;
|
return outputs;
|
||||||
}
|
}
|
||||||
UnicharCompress recoder_;
|
UnicharCompress recoder_;
|
||||||
int unichar_null_char_;
|
int unichar_null_char_ = 0;
|
||||||
int encoded_null_char_;
|
int encoded_null_char_ = 0;
|
||||||
CCUtil ccutil_;
|
CCUtil ccutil_;
|
||||||
Dict lstm_dict_;
|
Dict lstm_dict_;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user