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.cpp | 2 +- options/scoped.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'options') diff --git a/options/scoped.cpp b/options/scoped.cpp index 58a4ee02..ef2b1b02 100644 --- a/options/scoped.cpp +++ b/options/scoped.cpp @@ -52,4 +52,4 @@ opts::opts(const QString &name) : b(make_bundle(name)) { } -} +} // ns options 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