[SCM] kodi-pvr-vdr-vnsi/master: VNSIChannels: make operator== const
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 b1446fdeb11631b9e52d4e3dc71347d4d1691241
Author: Max Kellermann <max at duempel.org>
Date: Thu Nov 5 11:28:28 2015 +0100
VNSIChannels: make operator== const
diff --git a/src/VNSIChannels.cpp b/src/VNSIChannels.cpp
index 1409e52..853b636 100644
--- a/src/VNSIChannels.cpp
+++ b/src/VNSIChannels.cpp
@@ -32,7 +32,7 @@ CProvider::CProvider(std::string name, int caid)
{
};
-bool CProvider::operator==(const CProvider &rhs)
+bool CProvider::operator==(const CProvider &rhs) const
{
if (rhs.m_caid != m_caid)
return false;
diff --git a/src/VNSIChannels.h b/src/VNSIChannels.h
index 6f4e33f..daecae7 100644
--- a/src/VNSIChannels.h
+++ b/src/VNSIChannels.h
@@ -27,7 +27,7 @@ class CProvider
public:
CProvider();
CProvider(std::string name, int caid);
- bool operator==(const CProvider &rhs);
+ bool operator==(const CProvider &rhs) const;
std::string m_name;
int m_caid;
bool m_whitelist;
--
kodi-pvr-vdr-vnsi packaging
More information about the pkg-multimedia-commits
mailing list