summaryrefslogtreecommitdiff
path: root/src/string.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-10-08 19:33:53 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-10-08 19:33:53 +0200
commitc7272e427dab6dde9fb87e7e4890eac9447f2736 (patch)
treed22d1fe076394d990a527c2bdee0ee55bc8acfdf /src/string.hh
parent194bf6ac98c70e7e1fbc99c9a12906b0ebb07ee4 (diff)
get rid of Character
Diffstat (limited to 'src/string.hh')
-rw-r--r--src/string.hh3
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