diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-05-22 10:31:56 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-05-22 10:31:56 +0100 |
| commit | bc11e52960e025c4ae6bcde796facca1ff1a7cdc (patch) | |
| tree | a9f2e6197719f34b54c2501e91a84f5661d567df /src/window.hh | |
| parent | bdcfe308341edc47df628c0ff753f2cd39479273 (diff) | |
Remove virtual destructor from OptionManagerWatcher
We should never destruct anything through an OptionManagerWatcher
pointer, so having all those destructor virtual makes no sense.
Diffstat (limited to 'src/window.hh')
| -rw-r--r-- | src/window.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.hh b/src/window.hh index b2db63fc..2bd78356 100644 --- a/src/window.hh +++ b/src/window.hh @@ -16,7 +16,7 @@ class Window : public SafeCountable, public OptionManagerWatcher, public Scope { public: Window(Buffer& buffer); - ~Window() override; + ~Window(); const DisplayCoord& position() const { return m_position; } void set_position(DisplayCoord position); |
