summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 1f947b66..997c6e96 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -497,7 +497,7 @@ struct BufferCompletion
};
static BufferCompletion complete_word(const Buffer& buffer,
- const BufferCoord& cursor_pos,
+ BufferCoord cursor_pos,
bool other_buffers)
{
auto pos = buffer.iterator_at(cursor_pos);
@@ -545,7 +545,7 @@ static BufferCompletion complete_word(const Buffer& buffer,
}
static BufferCompletion complete_opt(const Buffer& buffer,
- const BufferCoord& cursor_pos,
+ BufferCoord cursor_pos,
OptionManager& options)
{
using StringList = std::vector<String>;