Merge remote-tracking branch 'arrufat/remove-unneeded-this-capture'

This commit is contained in:
Maxime Coste 2023-06-12 21:51:13 +10:00
commit 467021c3c7

View File

@ -684,7 +684,7 @@ Optional<Key> TerminalUI::get_next_key()
return resize(dimensions()); return resize(dimensions());
} }
static auto get_char = [this]() -> Optional<unsigned char> { static auto get_char = []() -> Optional<unsigned char> {
if (not fd_readable(STDIN_FILENO)) if (not fd_readable(STDIN_FILENO))
return {}; return {};