From 71374d0b5cd456e25252775fdec89fe3cf2aa5e6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 11 Jan 2018 18:55:20 +0100 Subject: minor cleanup --- options/scoped.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'options/scoped.hpp') 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 #include "export.hpp" @@ -20,11 +21,16 @@ private: struct OTR_OPTIONS_EXPORT opts { + template using value = options::value; + using bundle = options::bundle; + bundle b; + + virtual ~opts(); opts(const QString& name); + opts& operator=(const opts&) = delete; opts(const opts&) = delete; - virtual ~opts(); }; } -- cgit v1.2.3