mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
refactor: don't use CV_ErrorNoReturn() internally
This commit is contained in:
@@ -409,7 +409,7 @@ bool GdalDecoder::readData( Mat& img ){
|
||||
color = 3;
|
||||
break;
|
||||
default:
|
||||
CV_ErrorNoReturn(cv::Error::StsError, "Invalid/unsupported mode");
|
||||
CV_Error(cv::Error::StsError, "Invalid/unsupported mode");
|
||||
}
|
||||
|
||||
// make sure the image band has the same dimensions as the image
|
||||
|
||||
Reference in New Issue
Block a user