mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 19:16:02 +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
Notes:
sideshowbarker
2024-07-18 07:15:20 +09:00
Author: https://github.com/BertalanD
Commit: d000ca1ec3
Pull-request: https://github.com/SerenityOS/serenity/pull/8718
Issue: https://github.com/SerenityOS/serenity/issues/363
Reviewed-by: https://github.com/gunnarbeutner ✅
Reviewed-by: https://github.com/nico
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