diff options
Diffstat (limited to 'filter.c')
-rw-r--r-- | filter.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: filter.c 4.2 2015/07/25 10:59:57 kls Exp $ + * $Id: filter.c 4.3 2017/05/09 08:37:23 kls Exp $ */ #include "filter.h" @@ -71,6 +71,15 @@ cFilterData::cFilterData(u_short Pid, u_char Tid, u_char Mask, bool Sticky) sticky = Sticky; } +cFilterData& cFilterData::operator= (const cFilterData &FilterData) +{ + pid = FilterData.pid; + tid = FilterData.tid; + mask = FilterData.mask; + sticky = FilterData.sticky; + return *this; +} + bool cFilterData::Is(u_short Pid, u_char Tid, u_char Mask) { return pid == Pid && tid == Tid && mask == Mask; |