unittest: Initialize non-static class members in RecodeBeamTest (CID 1402765)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-07-10 16:52:27 +02:00 committed by zdenop
parent 854772147c
commit 69cbda6196

View File

@ -342,8 +342,8 @@ class RecodeBeamTest : public ::testing::Test {
return outputs;
}
UnicharCompress recoder_;
int unichar_null_char_;
int encoded_null_char_;
int unichar_null_char_ = 0;
int encoded_null_char_ = 0;
CCUtil ccutil_;
Dict lstm_dict_;
};