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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 3e5c30c9..ddc3035d 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -500,7 +500,7 @@ static BufferCompletion complete_opt(const BufferIterator& pos, OptionManager& o
auto& desc = opt[0];
Regex re(R"((\d+):(\d+)@(\d+))");
- boost::match_results<String::iterator> match;
+ boost::smatch match;
if (boost::regex_match(desc.begin(), desc.end(), match, re))
{
LineCount line = str_to_int(String(match[1].first, match[1].second)) - 1;