summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-10-01 20:20:08 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-10-01 20:20:08 +0200
commit4b0ccb0437576c2d87be07b9865ff78a1c5f0c15 (patch)
treeb401d2e557799fdfb10c7503ee54197173bb7a10 /src/buffer.hh
parentf2f34216371f8f799d2cd5f48b16777af98e0cf8 (diff)
String and BufferIterator value_type goes back to plain char
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index d75a37d5..5f16c0c1 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -31,7 +31,7 @@ struct BufferCoord : LineAndColumn<BufferCoord>
class BufferIterator
{
public:
- typedef Character value_type;
+ typedef char value_type;
typedef size_t difference_type;
typedef const value_type* pointer;
typedef const value_type& reference;
@@ -47,7 +47,7 @@ public:
bool operator> (const BufferIterator& iterator) const;
bool operator>= (const BufferIterator& iterator) const;
- Character operator* () const;
+ char operator* () const;
size_t operator- (const BufferIterator& iterator) const;
BufferIterator operator+ (CharCount size) const;