backport: checks and fixes from static code analyzers results

original commit: 71f665bd8c
This commit is contained in:
Alexander Alekhin
2020-09-01 22:18:20 +00:00
parent f9fbd29c14
commit 1f2c83845d
8 changed files with 42 additions and 22 deletions
@@ -107,6 +107,8 @@ struct HaarClassifier
struct HaarStageClassifier
{
HaarStageClassifier() : threshold(0) {}
double threshold;
std::vector<HaarClassifier> weaks;
};