diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-05-08 22:07:43 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-05-09 23:01:40 +1000 |
| commit | 327d8ad7594ab4da9b7c670f5b5f5a164403b0d2 (patch) | |
| tree | 4b9d79c1c3bc9138a1c255d203cb7067c5a7dea6 /src/option_manager.hh | |
| parent | e8c648b7b796219b170bea529a5257a38621f861 (diff) | |
Mark Client, Window, Buffer and OptionManager as final
Avoids warning about non virtual destructor calls on them,
as they have a vtable due to OptionManagerWatcher.
Diffstat (limited to 'src/option_manager.hh')
| -rw-r--r-- | src/option_manager.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option_manager.hh b/src/option_manager.hh index 84c1be98..a7dc8ed2 100644 --- a/src/option_manager.hh +++ b/src/option_manager.hh @@ -78,7 +78,7 @@ public: virtual void on_option_changed(const Option& option) = 0; }; -class OptionManager : private OptionManagerWatcher +class OptionManager final : private OptionManagerWatcher { public: OptionManager(OptionManager& parent); |
