summaryrefslogtreecommitdiff
path: root/src/string.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-10-09 19:15:05 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-10-09 19:15:05 +0200
commit7a8366da2b5f8149b0bd316ae0905c8453b36f62 (patch)
tree42a563ac6040b9d018cb2132481e974ce1a9149e /src/string.hh
parente1d4215159d39aa941b7846c46103d3690c2abcd (diff)
add a unicode.hh header for Codepoint related functions, s/utf8::Codepoint/Codepoint/
Diffstat (limited to 'src/string.hh')
-rw-r--r--src/string.hh8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/string.hh b/src/string.hh
index ad3a7b5f..dfcd9cbb 100644
--- a/src/string.hh
+++ b/src/string.hh
@@ -83,14 +83,6 @@ 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(char c)
-{
- return (c >= '0' and c <= '9') or
- (c >= 'a' and c <= 'z') or
- (c >= 'A' and c <= 'Z') or
- c == '_';
-}
-
}
namespace std