summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-05-26 11:25:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-05-26 11:25:36 +0200
commit373c69043ae352778974735460753d5e4f500789 (patch)
tree22b3779da2aa43719c4beb339aea4f2f7fb30df0 /channels.c
parent70ac6784ac749ecc479163806a4e23930ce6ae17 (diff)
downloadvdr-373c69043ae352778974735460753d5e4f500789.tar.gz
vdr-373c69043ae352778974735460753d5e4f500789.tar.bz2
Made tChannelID::operator==() inline for better performance
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/channels.c b/channels.c
index e571aed2..942d7af0 100644
--- a/channels.c
+++ b/channels.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.c 1.38 2005/05/07 13:14:32 kls Exp $
+ * $Id: channels.c 1.39 2005/05/26 11:10:06 kls Exp $
*/
#include "channels.h"
@@ -124,11 +124,6 @@ int MapToDriver(int Value, const tChannelParameterMap *Map)
const tChannelID tChannelID::InvalidID;
-bool tChannelID::operator== (const tChannelID &arg) const
-{
- return source == arg.source && nid == arg.nid && tid == arg.tid && sid == arg.sid && rid == arg.rid;
-}
-
tChannelID tChannelID::FromString(const char *s)
{
char *sourcebuf = NULL;