Remove unneeded this capture in lambda

Clang 15 was complaining about this.
This commit is contained in:
Adrià Arrufat 2023-06-09 21:47:25 +09:00
parent e0728d3434
commit 66b22a1902

View File

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