From 4dc333c8b3499088175d9a803a149ebefaef9d59 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 20 Nov 2012 14:14:32 +0100 Subject: [PATCH] minor cleanups --- src/editor.hh | 1 - src/filters.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/src/editor.hh b/src/editor.hh index 620b51e2..10239564 100644 --- a/src/editor.hh +++ b/src/editor.hh @@ -41,7 +41,6 @@ public: typedef std::function Selector; typedef std::function MultiSelector; - Editor(Buffer& buffer); virtual ~Editor() {} diff --git a/src/filters.cc b/src/filters.cc index d9fab000..9a2fcf28 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -74,7 +74,6 @@ struct RegexFilter if (boost::regex_match(content.c_str(), m_insert_match) and boost::regex_match(line_begin, position, results, m_line_match)) { - String suffix; content = results.format(m_replacement.c_str()); auto it = std::find(content.begin(), content.end(), '$'); if (it != content.end())