use new/delete instead of malloc/free
[enigma2.git] / lib / dvb / pmt.h
index 185000d9ef2321eb9a7b234a2f39c8b2d105ec6a..95d3cc43522c36fa506ce1cf8de2ff218f27d099 100644 (file)
@@ -132,7 +132,7 @@ public:
                        int teletext_magazine_number;  // used for teletext subtitles
                };
                std::string language_code;
-               bool operator<(const subtitleStream &s)
+               bool operator<(const subtitleStream &s) const
                {
                        if (pid != s.pid)
                                return pid < s.pid;