[SCM] kodi-pvr-vdr-vnsi/master: VNSIChannels: pass const string to SetCaids()

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Sun Feb 28 15:46:48 UTC 2016


The following commit has been merged in the master branch:
commit 18c0283b59d22937330ad8e97d0e1c5cae9b694e
Author: Max Kellermann <max at duempel.org>
Date:   Thu Nov 5 11:27:50 2015 +0100

    VNSIChannels: pass const string to SetCaids()

diff --git a/src/VNSIChannels.cpp b/src/VNSIChannels.cpp
index 70a8caa..1409e52 100644
--- a/src/VNSIChannels.cpp
+++ b/src/VNSIChannels.cpp
@@ -41,7 +41,7 @@ bool CProvider::operator==(const CProvider &rhs)
   return true;
 }
 
-void CChannel::SetCaids(char *caids)
+void CChannel::SetCaids(const char *caids)
 {
   m_caids.clear();
   std::string strCaids = caids;
diff --git a/src/VNSIChannels.h b/src/VNSIChannels.h
index 87d0bc2..6f4e33f 100644
--- a/src/VNSIChannels.h
+++ b/src/VNSIChannels.h
@@ -36,7 +36,7 @@ public:
 class CChannel
 {
 public:
-  void SetCaids(char *caids);
+  void SetCaids(const char *caids);
   unsigned int m_id;
   unsigned int m_number;
   std::string m_name;

-- 
kodi-pvr-vdr-vnsi packaging



More information about the pkg-multimedia-commits mailing list