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 834a29056898d00c94b387c06acd7d376c04b8e2..c9ff3cb64540bbf5ee774e7767137a46bbd290ab 100644 (file)
@@ -424,7 +424,7 @@ void eDVBCAService::buildCAPMT(eTable<ProgramMapSection> *ptr)
                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 );