summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
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();
};
}