提交 6d78cfc0 编写于 作者: P Pat O'Keefe

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

上级 73ba4356
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册