summaryrefslogtreecommitdiff
path: root/src/buffer_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer_utils.cc')
-rw-r--r--src/buffer_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc
index 1d7e7d25..c3dd755c 100644
--- a/src/buffer_utils.cc
+++ b/src/buffer_utils.cc
@@ -133,7 +133,7 @@ Buffer* create_fifo_buffer(String name, int fd, bool scroll)
});
buffer->hooks().add_hook("BufClose", "",
- [buffer, watcher](const String&, const Context&) {
+ [buffer, watcher](StringView, const Context&) {
// Check if fifo is still alive, else watcher is already dead
if (buffer->flags() & Buffer::Flags::Fifo)
{