Fix compilation when building without the Video I/O module.

This commit is contained in:
Pat O'Keefe 2014-11-25 13:52:07 -05:00
parent 73ba435610
commit 6d78cfc0d9

View File

@ -70,7 +70,7 @@ public:
if (!vc.isOpened())
CV_Error(0, "can't open file: " + path_);
#else
CV_Error(CV_StsNotImplemented, "OpenCV has been compiled without video I/O support");
CV_Error(Error::StsNotImplemented, "OpenCV has been compiled without video I/O support");
#endif
}