summaryrefslogtreecommitdiff
path: root/Userland/Services/RequestServer/HttpCommon.h
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-06-20 21:10:54 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-06-24 17:35:49 +0430
commitf28f00c654c44a2762cb4a702a9ad9377cdadf3b (patch)
treebddb59250972f912449c4c025be554092a71458a /Userland/Services/RequestServer/HttpCommon.h
parentf820917a765d1ac74af5f66567becb955996b0d8 (diff)
downloadserenity-f28f00c654c44a2762cb4a702a9ad9377cdadf3b.zip
Userland: Disambiguate dependent types
Clang produced an error on these pieces of code without the `typename` keyword.
Diffstat (limited to 'Userland/Services/RequestServer/HttpCommon.h')
-rw-r--r--Userland/Services/RequestServer/HttpCommon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/RequestServer/HttpCommon.h b/Userland/Services/RequestServer/HttpCommon.h
index a79a6fbce8..9a3eb81ce5 100644
--- a/Userland/Services/RequestServer/HttpCommon.h
+++ b/Userland/Services/RequestServer/HttpCommon.h
@@ -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 {};