pmt.h: add missing const modifier to capid_pair
authorAndreas Oberritter <obi@opendreambox.org>
Mon, 20 Dec 2010 12:20:41 +0000 (13:20 +0100)
committerAndreas Oberritter <obi@opendreambox.org>
Mon, 20 Dec 2010 12:20:41 +0000 (13:20 +0100)
lib/dvb/pmt.h

index 5c8fa582394f5fbe3c3e11f4837d70be8a7acb04..86b634fc459a1b9206ca9d5ac34dfe835c3995c6 100644 (file)
@@ -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<videoStream> videoStreams;
                std::vector<audioStream> audioStreams;