From 7548968ac2c11e1fdcfbbb243f605e627c805566 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Fri, 26 Jan 2018 05:03:37 +0000 Subject: [PATCH] devd: readd virtual - my C++ knowledge is old and rusty. re-add virtual --- sbin/devd/devd.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/devd/devd.hh b/sbin/devd/devd.hh index c797b6acd76c..af4ce192dec0 100644 --- a/sbin/devd/devd.hh +++ b/sbin/devd/devd.hh @@ -147,7 +147,7 @@ class config { public: config() { push_var_table(); } - ~config() { reset(); } + virtual ~config() { reset(); } void add_attach(int, event_proc *); void add_detach(int, event_proc *); void add_directory(const char *);