summaryrefslogtreecommitdiff
path: root/src/utf8.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/utf8.hh
parente1d4215159d39aa941b7846c46103d3690c2abcd (diff)
add a unicode.hh header for Codepoint related functions, s/utf8::Codepoint/Codepoint/
Diffstat (limited to 'src/utf8.hh')
-rw-r--r--src/utf8.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/utf8.hh b/src/utf8.hh
index 6bc29942..122c71ae 100644
--- a/src/utf8.hh
+++ b/src/utf8.hh
@@ -1,8 +1,8 @@
#ifndef utf8_hh_INCLUDED
#define utf8_hh_INCLUDED
-#include <cstdint>
#include <cstddef>
+#include "unicode.hh"
namespace Kakoune
{
@@ -10,8 +10,6 @@ namespace Kakoune
namespace utf8
{
-using Codepoint = uint32_t;
-
// returns an iterator to next character first byte
template<typename Iterator>
Iterator next(Iterator it)