diff --git a/termite.cc b/termite.cc index 908357d..4ee14a0 100644 --- a/termite.cc +++ b/termite.cc @@ -1,6 +1,7 @@ #include #include #include +#include #include #include @@ -301,9 +302,7 @@ static void move_forward_word(VteTerminal *vte, select_info *select) { } static void move_forward_blank_word(VteTerminal *vte, select_info *select) { - move_forward(vte, select, [](gunichar c) { - return !g_unichar_isspace(c); - }); + move_forward(vte, select, std::not1(std::ref(g_unichar_isspace))); } static void set_cursor_column(VteTerminal *vte, const select_info *select, long column) {