Re: [Flightgear-devel] [BUG] FGEnvironment copy constructor bad

2009-01-14 Thread Timothy Moore
Csaba Halász wrote: > Hi! > > The copy constructor in question: > > 145 FGEnvironment::FGEnvironment (const FGEnvironment &env) > 146 { > 147 FGEnvironment(); > 148 copy(env); > 149 } > > I guess that wants to call the default constructor first. However, > that doesn'

Re: [Flightgear-devel] [BUG] FGEnvironment copy constructor bad

2009-01-14 Thread Tim Moore
Tim Moore wrote: > Csaba Halász wrote: >> Hi! >> >> The copy constructor in question: >> >> 145 FGEnvironment::FGEnvironment (const FGEnvironment &env) >> 146 { >> 147 FGEnvironment(); >> 148 copy(env); >> 149 } >> >> I guess that wants to call the default constructor fi

Re: [Flightgear-devel] [BUG] FGEnvironment copy constructor bad

2009-01-13 Thread Tim Moore
Csaba Halász wrote: > Hi! > > The copy constructor in question: > > 145 FGEnvironment::FGEnvironment (const FGEnvironment &env) > 146 { > 147 FGEnvironment(); > 148 copy(env); > 149 } > > I guess that wants to call the default constructor first. However, > that doesn'

[Flightgear-devel] [BUG] FGEnvironment copy constructor bad

2009-01-13 Thread Csaba Halász
Hi! The copy constructor in question: 145 FGEnvironment::FGEnvironment (const FGEnvironment &env) 146 { 147 FGEnvironment(); 148 copy(env); 149 } I guess that wants to call the default constructor first. However, that doesn't work. See http://www.parashift.com/c++-faq