Gave CvSVM a private copy constructor & assignment operator.

The implicitly generated ones don't work properly, and I don't want to
write proper ones. :-)

"Fixes" <http://code.opencv.org/issues/3358>.
This commit is contained in:
Roman Donchenko 2013-11-20 14:59:42 +04:00
parent e69d2c1bb1
commit cf00349b5b

View File

@ -548,6 +548,10 @@ protected:
CvSVMSolver* solver;
CvSVMKernel* kernel;
private:
CvSVM(const CvSVM&);
CvSVM& operator = (const CvSVM&);
};
/****************************************************************************************\