mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
Everywhere: Use C++ concepts instead of requires clauses
This commit is contained in:
parent
9721da2e6a
commit
ae2abcebbb
17 changed files with 60 additions and 61 deletions
|
@ -7,6 +7,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "WidgetWithLabel.h"
|
||||
#include <AK/Concepts.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibDSP/ProcessorParameter.h>
|
||||
#include <LibGUI/ComboBox.h>
|
||||
|
@ -14,8 +15,8 @@
|
|||
#include <LibGUI/Label.h>
|
||||
#include <LibGUI/ModelIndex.h>
|
||||
|
||||
template<typename EnumT>
|
||||
requires(IsEnum<EnumT>) class ProcessorParameterDropdown : public GUI::ComboBox {
|
||||
template<Enum EnumT>
|
||||
class ProcessorParameterDropdown : public GUI::ComboBox {
|
||||
C_OBJECT(ProcessorParameterDropdown);
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue