Mir

Code review comment for lp:~kdub/mir/resettable-buffer-cb

Revision history for this message
Chris Halse Rogers (raof) wrote :

+ cb.set_callback([&, callback, context]{ (*callback)(reinterpret_cast<::MirBuffer*>(this), context); });

The ‘&’ is rather strange there - you only really want to capture /this/ by value.

But that's a stylistic nit.

review: Approve

« Back to merge proposal