mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
Everywhere: Remove usages of template
keyword with no parameter list
These were made invalid with P1787, and Clang (19) trunk started warning on them with https://github.com/llvm/llvm-project/pull/80801.
This commit is contained in:
parent
9b5d1382bf
commit
397774d422
Notes:
sideshowbarker
2024-07-17 08:59:18 +09:00
Author: https://github.com/BertalanD
Commit: 397774d422
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/44
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/trflynn89
6 changed files with 6 additions and 6 deletions
|
@ -450,7 +450,7 @@ public:
|
|||
decltype(auto) downcast() const&
|
||||
{
|
||||
if constexpr (sizeof...(NewTs) == 1 && (IsSpecializationOf<NewTs, Variant> && ...)) {
|
||||
return (*this).template downcast_variant(TypeWrapper<NewTs...> {});
|
||||
return (*this).downcast_variant(TypeWrapper<NewTs...> {});
|
||||
} else {
|
||||
Variant<NewTs...> instance { Variant<NewTs...>::invalid_index, Detail::VariantConstructTag {} };
|
||||
visit([&](auto const& value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue