mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-10 00:19:12 +01:00
fix: CLang fix
This commit is contained in:
parent
c33ccfaa71
commit
94a84f5943
95 changed files with 261 additions and 259 deletions
|
|
@ -103,9 +103,9 @@ concept IsRBEntry = CheckRBEntry<T>::value;
|
|||
|
||||
template <typename T>
|
||||
concept HasRBEntry = requires(T& t, const T& ct) {
|
||||
{ t.GetRBEntry() } -> std::same_as<RBEntry<T>&>;
|
||||
{ ct.GetRBEntry() } -> std::same_as<const RBEntry<T>&>;
|
||||
};
|
||||
{ t.GetRBEntry() } -> std::same_as<RBEntry<T>&>;
|
||||
{ ct.GetRBEntry() } -> std::same_as<const RBEntry<T>&>;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
requires HasRBEntry<T>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue