From fe2a58edc267ff643e50b412f893e15cbafab6b5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 25 Sep 2017 16:25:12 +0200 Subject: api, options: some `virtual' fixes --- options/scoped.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/scoped.hpp') diff --git a/options/scoped.hpp b/options/scoped.hpp index 8652bfff..f43e9712 100644 --- a/options/scoped.hpp +++ b/options/scoped.hpp @@ -15,7 +15,7 @@ struct OTR_OPTIONS_EXPORT opts opts(const QString& name); opts& operator=(const opts&) = delete; opts(const opts&) = delete; - ~opts(); + virtual ~opts(); // XXX hack: the flag shouldn't be here as action at distance -sh 20160926 static void set_teardown_flag(bool value); -- cgit v1.2.3