Am Freitag, den 22.10.2010, 13:28 -0400 schrieb Richard Heck:
> >> i wonder why Alert:: code is affected when no preview or export is done?

It was a bug in InGuiThread.h, see commit message:

"bind makes a copy of the arguments by default. This is secure if the
bound object survives the existence of the arguments, but it also breaks
"change by non-const reference"  parameter passing, like in
Alert::askForString. Here the arguments exists the whole bound function
call so we could pass by reference."

> I think I understand it now, though
Multi threading isn't that hard ;)
And have a look at bind:
"you can go a long way with just boost::bind"

Peter



Reply via email to