some more fixes towards binary compatibility

This commit is contained in:
Vadim Pisarevsky
2012-10-09 15:56:16 +04:00
parent e2ff0ed1fb
commit a8c5e35619
7 changed files with 104 additions and 90 deletions

View File

@@ -2069,6 +2069,7 @@ protected:
char delimiter;
char miss_ch;
short header_lines_number;
//char flt_separator;
CvMat* values;
@@ -2093,8 +2094,6 @@ protected:
int* sample_idx; // data of train_sample_idx and test_sample_idx
cv::RNG* rng;
int header_lines_number;
};

View File

@@ -121,7 +121,7 @@ void CvMLData::clear()
void CvMLData::set_header_lines_number( int idx )
{
header_lines_number = std::max(0, idx);
header_lines_number = (short)std::max(0, idx);
}
int CvMLData::get_header_lines_number() const