it doesn't compile with const
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 21 Nov 2005 02:35:52 +0000 (02:35 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 21 Nov 2005 02:35:52 +0000 (02:35 +0000)
Ghost: is this correct now?

lib/dvb/pmt.cpp

index 834a290..c9ff3cb 100644 (file)
@@ -424,7 +424,7 @@ void eDVBCAService::buildCAPMT(eTable<ProgramMapSection> *ptr)
                return;
        }
 
                return;
        }
 
-       const std::vector<ProgramMapSection*>::const_iterator i=ptr->getSections().begin();
+       std::vector<ProgramMapSection*>::const_iterator i=ptr->getSections().begin();
        if ( i != ptr->getSections().end() )
        {
                CaProgramMapSection capmt(*i++, m_prev_build_hash ? 0x05 /*update*/ : 0x03 /*only*/, 0x01 );
        if ( i != ptr->getSections().end() )
        {
                CaProgramMapSection capmt(*i++, m_prev_build_hash ? 0x05 /*update*/ : 0x03 /*only*/, 0x01 );