diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-09-30 09:13:13 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-09-30 09:13:13 +0200 |
commit | 96bb2265ac36fd414359a031a8ecfdff483c87f0 (patch) | |
tree | 8dd75043038273a707a8d7a6532f1c67362f7157 /dxr3spudecoder.h | |
parent | 4e6085d8aa2f11c9decba9674ef9152ce6292f65 (diff) | |
download | vdr-plugin-dxr3-96bb2265ac36fd414359a031a8ecfdff483c87f0.tar.gz vdr-plugin-dxr3-96bb2265ac36fd414359a031a8ecfdff483c87f0.tar.bz2 |
pass function parameter by reference
Diffstat (limited to 'dxr3spudecoder.h')
-rw-r--r-- | dxr3spudecoder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dxr3spudecoder.h b/dxr3spudecoder.h index 5f6e76d..939089a 100644 --- a/dxr3spudecoder.h +++ b/dxr3spudecoder.h @@ -31,7 +31,7 @@ typedef struct sDxr3SpuPalDescr uint8_t index; uint8_t trans; - bool operator != (const sDxr3SpuPalDescr pd) const + bool operator != (const sDxr3SpuPalDescr &pd) const { return index != pd.index && trans != pd.trans; }; @@ -53,7 +53,7 @@ struct sDxr3SpuRect return y2 - y1 + 1; }; - bool operator != (const sDxr3SpuRect r) const + bool operator != (const sDxr3SpuRect &r) const { return r.x1 != x1 || r.y1 != y1 || r.x2 != x2 || r.y2 != y2; }; |