[vdr] Re: Problem with cChannel's copy constructor
marcel.wiesweg at gmx.de
Sat Aug 6 20:08:16 CEST 2005
> The "copy constructor" is actually used intentionally in
> cChannels::NewChannel(), where its sole purpose is to copy the actual
> transponder data.
> But you're of course right, a copy constructor should behave like a real
> copy constructor, and not serve a very special purpose.
> I have therefore introduced cChannel::CopyTransponderData() for that
> purpose, and changed the copy ctor so that it calls operator=.
> See the attached patch and let me know if this works for you.
Yes, thanks, this works.
More information about the vdr