1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-24 20:01:12 +08:00

build: GCC9 compilation

This commit is contained in:
Alexander Alekhin
2019-11-12 18:50:43 +03:00
parent 6ae9809b2e
commit 4c5f06128b
3 changed files with 6 additions and 10 deletions

View File

@@ -135,13 +135,6 @@ struct GPCTrainingParams
CV_Assert( check() );
}
GPCTrainingParams( const GPCTrainingParams &params )
: maxTreeDepth( params.maxTreeDepth ), minNumberOfSamples( params.minNumberOfSamples ), descriptorType( params.descriptorType ),
printProgress( params.printProgress )
{
CV_Assert( check() );
}
bool check() const { return maxTreeDepth > 1 && minNumberOfSamples > 1; }
};