diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-03-29 14:21:55 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-03-29 19:35:48 +0100 |
| commit | 01968cb96ec759bfad19507823d22431e6bf80e4 (patch) | |
| tree | 12552563f460c1e344e2fb0f09fd6aebe48958aa /src/input_handler.cc | |
| parent | 1f4072dc7294e6c0b13af4243248a52e185cfc1a (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.cc | 2 |
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; |
