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/buffer.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/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index 6b98e7c8..202469bb 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -103,7 +103,7 @@ using BufferLines = Vector<StringDataPtr, MemoryDomain::BufferContent>; // The Buffer class permits to read and mutate this file // representation. It also manage modifications undo/redo and // provides tools to deal with the line/column nature of text. -class Buffer : public SafeCountable, public OptionManagerWatcher, public Scope +class Buffer final : public SafeCountable, public Scope, private OptionManagerWatcher { public: enum class Flags |
