pmtparse.cpp: Fix build with gcc 11+

Status
Not open for further replies.

GitHub

Moderator
pmtparse.cpp: Fix build with gcc 11+

../../git/lib/dvb/pmtparse.cpp:538:25: error: loop variable 'it' creates a copy from type 'const eDVBPMTParser::program::capid_pair'
[-Werror=range-loop-construct]
| 538 | for (const auto it : program.caids)
| | ^~

Continue reading...
 
Status
Not open for further replies.
Back
Top