On 10/30, Stéphane Letz wrote:
>
> I asked ChatGPT and here is the chat :
>
> [...snip...]

I am 100% sure you could've made the fix much faster than write this prompt ;)

But I am impressed nevertheless. Which version of ChatGPT do you use?

>     num(const num& n) : fType(n.fType) {
>         if (fType == 0)
>             fData.i = n.fData.i;
>         else
>             fData.f = n.fData.f;
>     }

I guess in this case

        num(const num& n) = default;

makes more sense, but this is minor.

Thanks,

Oleg.



_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to