Remove unneeded this capture in lambda
Clang 15 was complaining about this.
This commit is contained in:
parent
e0728d3434
commit
66b22a1902
|
@ -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 {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user