diff options
Diffstat (limited to 'src/libutil/config-impl.hh')
-rw-r--r-- | src/libutil/config-impl.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/config-impl.hh b/src/libutil/config-impl.hh index 8e3a1e408..bc88b5504 100644 --- a/src/libutil/config-impl.hh +++ b/src/libutil/config-impl.hh @@ -34,6 +34,10 @@ template<> struct BaseSetting<std::set<ExperimentalFeature>>::trait { static constexpr bool appendable = true; }; +template<> struct BaseSetting<std::set<DeprecatedFeature>>::trait +{ + static constexpr bool appendable = true; +}; template<typename T> struct BaseSetting<T>::trait @@ -51,6 +55,7 @@ template<> void BaseSetting<Strings>::appendOrSet(Strings newValue, bool append) template<> void BaseSetting<StringSet>::appendOrSet(StringSet newValue, bool append); template<> void BaseSetting<StringMap>::appendOrSet(StringMap newValue, bool append); template<> void BaseSetting<std::set<ExperimentalFeature>>::appendOrSet(std::set<ExperimentalFeature> newValue, bool append); +template<> void BaseSetting<std::set<DeprecatedFeature>>::appendOrSet(std::set<DeprecatedFeature> newValue, bool append); template<typename T> void BaseSetting<T>::appendOrSet(T newValue, bool append) @@ -116,6 +121,7 @@ DECLARE_CONFIG_SERIALISER(Strings) DECLARE_CONFIG_SERIALISER(StringSet) DECLARE_CONFIG_SERIALISER(StringMap) DECLARE_CONFIG_SERIALISER(std::set<ExperimentalFeature>) +DECLARE_CONFIG_SERIALISER(std::set<DeprecatedFeature>) template<typename T> T BaseSetting<T>::parse(const std::string & str) const |