summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-05-08 22:07:43 +1000
committerMaxime Coste <mawww@kakoune.org>2018-05-09 23:01:40 +1000
commit327d8ad7594ab4da9b7c670f5b5f5a164403b0d2 (patch)
tree4b9d79c1c3bc9138a1c255d203cb7067c5a7dea6 /src/client.hh
parente8c648b7b796219b170bea529a5257a38621f861 (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/client.hh')
-rw-r--r--src/client.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.hh b/src/client.hh
index 1eb1e5d3..9d3daccd 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -22,7 +22,7 @@ enum class EventMode;
enum class InfoStyle;
enum class MenuStyle;
-class Client : public SafeCountable, public OptionManagerWatcher
+class Client final : public SafeCountable, public OptionManagerWatcher
{
public:
using OnExitCallback = std::function<void (int status)>;