From 66b22a190230bc3c714e680d28b3369bee7de62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Fri, 9 Jun 2023 21:47:25 +0900 Subject: [PATCH] Remove unneeded this capture in lambda Clang 15 was complaining about this. --- src/terminal_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal_ui.cc b/src/terminal_ui.cc index 9685129a..f87a914e 100644 --- a/src/terminal_ui.cc +++ b/src/terminal_ui.cc @@ -684,7 +684,7 @@ Optional TerminalUI::get_next_key() return resize(dimensions()); } - static auto get_char = [this]() -> Optional { + static auto get_char = []() -> Optional { if (not fd_readable(STDIN_FILENO)) return {};