minor cleanups

This commit is contained in:
Maxime Coste 2012-11-20 14:14:32 +01:00
parent 0ca66e3bf9
commit 4dc333c8b3
2 changed files with 0 additions and 2 deletions

View File

@ -41,7 +41,6 @@ public:
typedef std::function<SelectionAndCaptures (const Selection&)> Selector; typedef std::function<SelectionAndCaptures (const Selection&)> Selector;
typedef std::function<SelectionAndCapturesList (const Selection&)> MultiSelector; typedef std::function<SelectionAndCapturesList (const Selection&)> MultiSelector;
Editor(Buffer& buffer); Editor(Buffer& buffer);
virtual ~Editor() {} virtual ~Editor() {}

View File

@ -74,7 +74,6 @@ struct RegexFilter
if (boost::regex_match(content.c_str(), m_insert_match) and if (boost::regex_match(content.c_str(), m_insert_match) and
boost::regex_match(line_begin, position, results, m_line_match)) boost::regex_match(line_begin, position, results, m_line_match))
{ {
String suffix;
content = results.format(m_replacement.c_str()); content = results.format(m_replacement.c_str());
auto it = std::find(content.begin(), content.end(), '$'); auto it = std::find(content.begin(), content.end(), '$');
if (it != content.end()) if (it != content.end())