summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-11 18:55:20 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-11 18:55:20 +0100
commit71374d0b5cd456e25252775fdec89fe3cf2aa5e6 (patch)
tree1df6d5e4ce0540eadfbdc3c9c3d81262bcd7d453 /options
parent6b817869744d319dd8d1aef921c1d90aa42e76a6 (diff)
minor cleanup
Diffstat (limited to 'options')
-rw-r--r--options/scoped.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/options/scoped.hpp b/options/scoped.hpp
index 117bbf56..49c3d18f 100644
--- a/options/scoped.hpp
+++ b/options/scoped.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "bundle.hpp"
+#include "value.hpp"
#include <QString>
#include "export.hpp"
@@ -20,11 +21,16 @@ private:
struct OTR_OPTIONS_EXPORT opts
{
+ template<typename t> using value = options::value<t>;
+ using bundle = options::bundle;
+
bundle b;
+
+ virtual ~opts();
opts(const QString& name);
+
opts& operator=(const opts&) = delete;
opts(const opts&) = delete;
- virtual ~opts();
};
}