move SafeCountable functionality to Editor from Window

This commit is contained in:
Maxime Coste 2012-08-05 18:23:09 +02:00
parent d91070f5b7
commit 2cc01d3407
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class Register;
//
// The Editor class provides methods to manipulate a set of selections
// and to use these selections to mutate it's buffer.
class Editor
class Editor : public SafeCountable
{
public:
typedef std::function<SelectionAndCaptures (const Selection&)> Selector;

View File

@ -19,7 +19,7 @@ class HighlighterGroup;
// to the editing ones already provided by the Editor class.
// Display can be customized through the use of highlighters handled by
// the window's HighlighterGroup
class Window : public Editor, public OptionManagerWatcher, public SafeCountable
class Window : public Editor, public OptionManagerWatcher
{
public:
~Window();