From: Stefan Pluecken Date: Mon, 21 Nov 2005 02:35:52 +0000 (+0000) Subject: it doesn't compile with const X-Git-Tag: 2.6.0~5047 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/4b8b88b747f1229b3538320d934d686e0d71e812?ds=sidebyside it doesn't compile with const Ghost: is this correct now? --- diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp index 834a2905..c9ff3cb6 100644 --- a/lib/dvb/pmt.cpp +++ b/lib/dvb/pmt.cpp @@ -424,7 +424,7 @@ void eDVBCAService::buildCAPMT(eTable *ptr) return; } - const std::vector::const_iterator i=ptr->getSections().begin(); + std::vector::const_iterator i=ptr->getSections().begin(); if ( i != ptr->getSections().end() ) { CaProgramMapSection capmt(*i++, m_prev_build_hash ? 0x05 /*update*/ : 0x03 /*only*/, 0x01 );