mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Corrected compilation errors Win
This commit is contained in:
committed by
Vadim Pisarevsky
parent
ead966709d
commit
5a1e9876fc
@@ -82,13 +82,13 @@ public:
|
||||
virtual void write(FileStorage& fs) const
|
||||
{
|
||||
fs << "name" << name_
|
||||
<< "affine_type" << fullAffine;
|
||||
<< "affine_type" << int(fullAffine);
|
||||
}
|
||||
|
||||
virtual void read(const FileNode& fn)
|
||||
{
|
||||
CV_Assert( (String)fn["name"] == name_ );
|
||||
fullAffine = (bool)int(fn["affine_type"]);
|
||||
fullAffine = int(fn["affine_type"])?true:false;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user