From 8073df7dfebde2e80055b0212252760da42997ca Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 9 Sep 2012 16:00:19 -0400 Subject: [PATCH] replace lambda with std::not1 --- termite.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) {