From: Andreas Oberritter Date: Mon, 20 Dec 2010 12:20:41 +0000 (+0100) Subject: pmt.h: add missing const modifier to capid_pair X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=3c282ef6f5bd54f2b0f4cb407d075cf321405b84 pmt.h: add missing const modifier to capid_pair --- diff --git a/lib/dvb/pmt.h b/lib/dvb/pmt.h index 5c8fa58..86b634f 100644 --- a/lib/dvb/pmt.h +++ b/lib/dvb/pmt.h @@ -185,7 +185,7 @@ public: { uint16_t caid; int capid; - bool operator< (const struct capid_pair &t) { return t.caid < caid; } + bool operator< (const struct capid_pair &t) const { return t.caid < caid; } }; std::vector videoStreams; std::vector audioStreams;