On 09/06/2010 09:24 AM, Alexander Graf wrote:
Oh - I missed the static there. Yeah, it's even worse. This is racy.
It's easy to refactor away so I'll just do that but it's not actually racy.It's just not re-entrant and the lifetime of the returned result is only until the next call.
Regards, Anthony Liguori
Alex