summaryrefslogtreecommitdiff
path: root/src/buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.cc')
-rw-r--r--src/buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.cc b/src/buffer.cc
index 7a476264..f36944e4 100644
--- a/src/buffer.cc
+++ b/src/buffer.cc
@@ -726,7 +726,7 @@ void Buffer::run_hook_in_own_context(StringView hook_name, StringView param, Str
hooks().run_hook(hook_name, param, hook_handler.context());
}
-BufferCoord Buffer::last_modification_coord() const
+Optional<BufferCoord> Buffer::last_modification_coord() const
{
if (m_history_cursor.get() == &m_history)
return {};