Mir

Comment 3 for bug 1318632

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

If I've understood the discussion then:

   auto const& acquired_buffer = buffer_for(current_compositor_buffer, buffers);

should be:

   auto const acquired_buffer = buffer_for(current_compositor_buffer, buffers);

(And the RVO should elide any wasted copies.)