mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
The move constructor of a lambda just copies it anyway. Even if the first move() left an 'empty' closure behind, then 'm_editor->on_cursor_change' would only be able to see an empty closure, which is certainly not what was intended.