mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
fixed compilation errors
This commit is contained in:
@@ -85,14 +85,14 @@ Ptr<FrameSource> cv::superres::createFrameSource_Empty()
|
||||
Ptr<FrameSource> cv::superres::createFrameSource_Video(const String& fileName)
|
||||
{
|
||||
(void) fileName;
|
||||
CV_Error(CV_StsNotImplemented, "The called functionality is disabled for current build or platform");
|
||||
CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform");
|
||||
return Ptr<FrameSource>();
|
||||
}
|
||||
|
||||
Ptr<FrameSource> cv::superres::createFrameSource_Camera(int deviceId)
|
||||
{
|
||||
(void) deviceId;
|
||||
CV_Error(CV_StsNotImplemented, "The called functionality is disabled for current build or platform");
|
||||
CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform");
|
||||
return Ptr<FrameSource>();
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ Ptr<FrameSource> cv::superres::createFrameSource_Camera(int deviceId)
|
||||
Ptr<FrameSource> cv::superres::createFrameSource_Video_GPU(const String& fileName)
|
||||
{
|
||||
(void) fileName;
|
||||
CV_Error(CV_StsNotImplemented, "The called functionality is disabled for current build or platform");
|
||||
CV_Error(cv::Error::StsNotImplemented, "The called functionality is disabled for current build or platform");
|
||||
return Ptr<FrameSource>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user