summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDSP/ProcessorParameter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibDSP/ProcessorParameter.h')
-rw-r--r--Userland/Libraries/LibDSP/ProcessorParameter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Userland/Libraries/LibDSP/ProcessorParameter.h b/Userland/Libraries/LibDSP/ProcessorParameter.h
index becec4b678..5f9096149c 100644
--- a/Userland/Libraries/LibDSP/ProcessorParameter.h
+++ b/Userland/Libraries/LibDSP/ProcessorParameter.h
@@ -6,6 +6,7 @@
#pragma once
+#include <AK/Concepts.h>
#include <AK/DeprecatedString.h>
#include <AK/FixedPoint.h>
#include <AK/Format.h>
@@ -146,8 +147,8 @@ private:
Logarithmic const m_logarithmic;
};
-template<typename EnumT>
-requires(IsEnum<EnumT>) class ProcessorEnumParameter final : public Detail::ProcessorParameterSingleValue<EnumT> {
+template<Enum EnumT>
+class ProcessorEnumParameter final : public Detail::ProcessorParameterSingleValue<EnumT> {
public:
ProcessorEnumParameter(DeprecatedString name, EnumT initial_value)
: Detail::ProcessorParameterSingleValue<EnumT>(move(name), ParameterType::Enum, initial_value)