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/shell_manager.cc | |
| parent | 1f4072dc7294e6c0b13af4243248a52e185cfc1a (diff) | |
String: inherit from std::string rather than using it as a backend
Diffstat (limited to 'src/shell_manager.cc')
| -rw-r--r-- | src/shell_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell_manager.cc b/src/shell_manager.cc index 31ff0b1b..dce3a13a 100644 --- a/src/shell_manager.cc +++ b/src/shell_manager.cc @@ -79,8 +79,8 @@ String ShellManager::pipe(const String& input, dup2(error_pipe[1], 2); close(error_pipe[1]); dup2(write_pipe[0], 0); close(write_pipe[0]); - boost::regex_iterator<String::iterator> it(cmdline.begin(), cmdline.end(), m_regex); - boost::regex_iterator<String::iterator> end; + boost::regex_iterator<String::const_iterator> it(cmdline.begin(), cmdline.end(), m_regex); + boost::regex_iterator<String::const_iterator> end; while (it != end) { |
