summaryrefslogtreecommitdiffhomepage
path: root/options/scoped.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-09-25 16:25:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-09-25 16:29:43 +0200
commitfe2a58edc267ff643e50b412f893e15cbafab6b5 (patch)
tree32e2c5515b67c418f4ab821fca7150be7f819d64 /options/scoped.hpp
parenteca907d3c1240d04bbcfdf84a3a726353e56bc64 (diff)
api, options: some `virtual' fixes
Diffstat (limited to 'options/scoped.hpp')
-rw-r--r--options/scoped.hpp2
1 files changed, 1 insertions, 1 deletions
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);