fixed invalid cast of an rvalue by adding a string constructor to class eServiceRefer...
[enigma2.git] / lib / dvb / metaparser.cpp
index 67eb3d4..abc4456 100644 (file)
@@ -28,7 +28,7 @@ int eDVBMetaParser::parseFile(const std::string &tsname)
                switch (linecnt)
                {
                case 0:
-                       m_ref = (const eServiceReferenceDVB&)eServiceReference(line);
+                       m_ref = eServiceReferenceDVB(line);
                        break;
                case 1:
                        m_name = line;