1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

Removed unnecessary this declarations.

This commit is contained in:
Rolf Ahrenberg 2014-12-01 21:50:02 +02:00
parent 0fe1722dee
commit f6ab251294

View File

@ -22,8 +22,8 @@ class cSatipPid : public cVector<int> {
private: private:
int PidIndex(const int &pidP) int PidIndex(const int &pidP)
{ {
for (int i = 0; i < this->Size(); ++i) { for (int i = 0; i < Size(); ++i) {
if (pidP == this->At(i)) if (pidP == At(i))
return i; return i;
} }
return -1; return -1;
@ -34,13 +34,13 @@ public:
{ {
int i = PidIndex(pidP); int i = PidIndex(pidP);
if (i >= 0) if (i >= 0)
this->Remove(i); Remove(i);
} }
void AddPid(int pidP) void AddPid(int pidP)
{ {
if (PidIndex(pidP) < 0) if (PidIndex(pidP) < 0)
this->Append(pidP); Append(pidP);
} }
}; };