From 2cc01d340753ac3067a03913b0762b9f133544d5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 5 Aug 2012 18:23:09 +0200 Subject: [PATCH] move SafeCountable functionality to Editor from Window --- src/editor.hh | 2 +- src/window.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor.hh b/src/editor.hh index ab6196f9..6fd74406 100644 --- a/src/editor.hh +++ b/src/editor.hh @@ -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 Selector; diff --git a/src/window.hh b/src/window.hh index 04eff25f..d36755fe 100644 --- a/src/window.hh +++ b/src/window.hh @@ -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();