mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 07:18:13 +00:00
AK: Add typename
keyword for dependent types
This was made optional in C++20 in most cases, but Clang doesn't support omitting it yet. See P0634R3.
This commit is contained in:
parent
1472f6d986
commit
d000ca1ec3
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class IntrusiveListRelaxedConst : public IntrusiveList<T, Container, member> {
|
|||
public:
|
||||
using IntrusiveList<T, Container, member>::IntrusiveList;
|
||||
|
||||
using Iterator = IntrusiveList<T, Container, member>::Iterator;
|
||||
using Iterator = typename IntrusiveList<T, Container, member>::Iterator;
|
||||
|
||||
Iterator begin() const { return const_cast<IntrusiveListRelaxedConst*>(this)->IntrusiveList<T, Container, member>::begin(); }
|
||||
Iterator end() const { return Iterator {}; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue