From 3c282ef6f5bd54f2b0f4cb407d075cf321405b84 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Mon, 20 Dec 2010 13:20:41 +0100 Subject: [PATCH] pmt.h: add missing const modifier to capid_pair --- lib/dvb/pmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4