diff options
Diffstat (limited to 'src/string.hh')
| -rw-r--r-- | src/string.hh | 3 |
1 files changed, 1 insertions, 2 deletions
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<String> 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 |
