diff options
Diffstat (limited to 'options')
-rw-r--r-- | options/scoped.cpp | 2 | ||||
-rw-r--r-- | options/scoped.hpp | 2 |
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); |