mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
videoio: add missing CV_OVERRIDE to VideoCapture_DShow::isOpened()
This aligns with other virtual method declarations in cap_dshow.hpp and silences compiler warnings (-Wsuggest-override) while improving compile-time safety.
This commit is contained in:
@@ -30,7 +30,7 @@ public:
|
||||
virtual bool grabFrame() CV_OVERRIDE;
|
||||
virtual bool retrieveFrame(int outputType, OutputArray frame) CV_OVERRIDE;
|
||||
virtual int getCaptureDomain() CV_OVERRIDE;
|
||||
virtual bool isOpened() const;
|
||||
virtual bool isOpened() const CV_OVERRIDE;
|
||||
protected:
|
||||
void open(int index);
|
||||
void close();
|
||||
|
||||
Reference in New Issue
Block a user