On Wed, Nov 11, 2009 at 2:43 PM, John Denker <j...@av8n.com> wrote: > > Before switching to the string representation, I read the > code for the tie functions. I got the impression the code > was making a clone, i.e. a deep copy. Apparently this > impression was incorrect. Sorry.
No, the problem isn't with the property tree. You were returning the c_str() from a string that goes out of scope when the format_rotor function exits. Thus, the returned pointer will already be invalid when it gets passed to the tie. -- Csaba/Jester ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel