1
0
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:
Ansh Swaroop
2025-08-13 02:28:44 +05:30
committed by GitHub
parent 2762ffe7cc
commit 88fb0bad69
+1 -1
View File
@@ -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();