summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2025-02-19 20:58:49 +1100
committerMaxime Coste <mawww@kakoune.org>2025-02-19 21:25:39 +1100
commiteb7d34333b0698e8e1a8af4f2be908ab08cb2089 (patch)
tree4b53ba24111ce88901669c3e7651b5ec4edb4f87 /src/buffer.hh
parent9eda509282ebc881207c2d8278085cb53835641c (diff)
Cleanup file.cc/hh dependencies
file.cc/hh should not know about Context, Buffer, etc... It should be a pretty low level set of helper functions. Move buffer related functions to buffer_utils and extract busy indicators to callers.
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index 50423502..cd895c17 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -50,8 +50,6 @@ constexpr auto enum_desc(Meta::Type<ByteOrderMark>)
class Buffer;
-constexpr timespec InvalidTime = { -1, -1 };
-
// A BufferIterator permits to iterate over the characters of a buffer
class BufferIterator
{