summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-03-29 14:21:55 +0100
committerMaxime Coste <frrrwww@gmail.com>2013-03-29 19:35:48 +0100
commit01968cb96ec759bfad19507823d22431e6bf80e4 (patch)
tree12552563f460c1e344e2fb0f09fd6aebe48958aa /src/input_handler.cc
parent1f4072dc7294e6c0b13af4243248a52e185cfc1a (diff)
String: inherit from std::string rather than using it as a backend
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;