summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
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 084af636..c3a5dcb2 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -158,11 +158,11 @@ public:
struct Change
{
- enum Type { Insert, Erase };
+ enum Type : char { Insert, Erase };
Type type;
+ bool at_end;
ByteCoord begin;
ByteCoord end;
- bool at_end;
};
ArrayView<Change> changes_since(size_t timestamp) const;