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 5c8fa58..86b634f 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;