Mark refresh_ifn() implementation as an override in input_handler.cc

This was spotted by clang's -Winconsistent-missing-override in -Wall.
This commit is contained in:
Chris Webb 2023-12-10 09:58:40 +00:00
parent 7f49395cf9
commit a90d1d33f7

View File

@ -913,7 +913,7 @@ public:
m_idle_timer.set_next_date(Clock::now() + get_idle_timeout(context())); m_idle_timer.set_next_date(Clock::now() + get_idle_timeout(context()));
} }
void refresh_ifn() void refresh_ifn() override
{ {
bool explicit_completion_selected = m_current_completion != -1 and bool explicit_completion_selected = m_current_completion != -1 and
(not m_prefix_in_completions or m_current_completion != m_completions.candidates.size() - 1); (not m_prefix_in_completions or m_current_completion != m_completions.candidates.size() - 1);