mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
Userland: Disambiguate dependent types
Clang produced an error on these pieces of code without the `typename` keyword.
This commit is contained in:
parent
f820917a76
commit
f28f00c654
Notes:
sideshowbarker
2024-07-18 11:34:48 +09:00
Author: https://github.com/BertalanD
Commit: f28f00c654
Pull-request: https://github.com/SerenityOS/serenity/pull/8150
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/alimpfard ✅
3 changed files with 4 additions and 4 deletions
|
@ -55,8 +55,8 @@ void init(TSelf* self, TJob job)
|
|||
template<typename TBadgedProtocol, typename TPipeResult>
|
||||
OwnPtr<Request> start_request(TBadgedProtocol&& protocol, ClientConnection& client, const String& method, const URL& url, const HashMap<String, String>& headers, ReadonlyBytes body, TPipeResult&& pipe_result)
|
||||
{
|
||||
using TJob = TBadgedProtocol::Type::JobType;
|
||||
using TRequest = TBadgedProtocol::Type::RequestType;
|
||||
using TJob = typename TBadgedProtocol::Type::JobType;
|
||||
using TRequest = typename TBadgedProtocol::Type::RequestType;
|
||||
|
||||
if (pipe_result.is_error()) {
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue