From c7272e427dab6dde9fb87e7e4890eac9447f2736 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 8 Oct 2012 19:33:53 +0200 Subject: get rid of Character --- src/string.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/string.hh') diff --git a/src/string.hh b/src/string.hh index 31af1986..ad3a7b5f 100644 --- a/src/string.hh +++ b/src/string.hh @@ -11,7 +11,6 @@ namespace Kakoune { -typedef int32_t Character; typedef boost::regex Regex; class String @@ -84,7 +83,7 @@ String int_to_str(int value); int str_to_int(const String& str); std::vector split(const String& str, char separator); -inline bool is_word(Character c) +inline bool is_word(char c) { return (c >= '0' and c <= '9') or (c >= 'a' and c <= 'z') or -- cgit v1.2.3