Skip to content

Commit 3ae17ac

Browse files
authored
Update video_reader.cpp
Tried to build opencv with cmake and got that error: openCV/opencv_contrib/modules/cudacodec/src/video_reader.cpp:99:14: error: extra qualification ‘{anonymous}::VideoReaderImpl::’ on member ‘set’ [-fpermissive] 99 | void VideoReaderImpl::set(const ColorFormat _colorFormat) CV_OVERRIDE; | ^~~~~~~~~~~~~~~ Would propose do delete VideoReaderImpl:: in line 99
1 parent 47d476e commit 3ae17ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cudacodec/src/video_reader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ namespace
9696

9797
bool set(const VideoReaderProps propertyId, const double propertyVal) CV_OVERRIDE;
9898

99-
void VideoReaderImpl::set(const ColorFormat _colorFormat) CV_OVERRIDE;
99+
void set(const ColorFormat _colorFormat) CV_OVERRIDE;
100100

101101
bool get(const VideoReaderProps propertyId, double& propertyVal) const CV_OVERRIDE;
102102

0 commit comments

Comments
 (0)