mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
1. fix warning from Xcode 7.x
2. fixed parsing of "cat[range_spec]ord[range_spec]" type specification string when using ml::TrainData::loadFromCSV(). Thanks to A. Kaehler for reporting it
This commit is contained in:
parent
b2698f24b0
commit
d7ee62f03b
@ -747,9 +747,6 @@ public:
|
||||
}
|
||||
}
|
||||
while(*stopstring != ']');
|
||||
|
||||
if( stopstring[1] != '\0' && stopstring[1] != ',')
|
||||
CV_Error( CV_StsBadArg, errmsg );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -371,8 +371,8 @@ public:
|
||||
|
||||
class PerfSkipTestException: public cv::Exception
|
||||
{
|
||||
int dummy; // workaround for MacOSX Xcode 7.3 bug (don't make class "empty")
|
||||
public:
|
||||
int dummy; // workaround for MacOSX Xcode 7.3 bug (don't make class "empty")
|
||||
PerfSkipTestException() : dummy(0) {}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user