Joerg Sonnenberger wrote:
Haven't tried, was looking for the minimal change to the existing structure.
The proposed change would be even more minimal. ;)
One thing to keep in mind is that getBufferSurface() creates a temporary variable. It doesn't return a reference itself.
Sure, it's a temporary. And it shouldn't make a bit of a difference performance/memory-wise, if you create the local copy manually, or implicitely in the boost::bind. Can you quickly try if the proposed change compiles on your side? Don't want to involuntarily break your build again. Cheers, -- Thorsten
Attachment:
signature.asc
Description: Digital signature