summaryrefslogtreecommitdiffhomepage
path: root/options
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
parenteca907d3c1240d04bbcfdf84a3a726353e56bc64 (diff)
api, options: some `virtual' fixes
Diffstat (limited to 'options')
-rw-r--r--options/scoped.cpp2
-rw-r--r--options/scoped.hpp2
2 files changed, 2 insertions, 2 deletions
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);