Re: Problem with cChannel's copy constructor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.

Marcel 
>
> Klaus


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux