Userland: Disambiguate dependent types

Clang produced an error on these pieces of code without the `typename`
keyword.
This commit is contained in:
Daniel Bertalan 2021-06-20 21:10:54 +02:00 committed by Ali Mohammad Pur
commit f28f00c654
Notes: sideshowbarker 2024-07-18 11:34:48 +09:00
3 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ class ClientConnection : public Connection<ServerEndpoint, ClientEndpoint>
, public ClientEndpoint::template Proxy<ServerEndpoint> {
public:
using ServerStub = typename ServerEndpoint::Stub;
using IPCProxy = ClientEndpoint::template Proxy<ServerEndpoint>;
using IPCProxy = typename ClientEndpoint::template Proxy<ServerEndpoint>;
ClientConnection(ServerStub& stub, NonnullRefPtr<Core::LocalSocket> socket, int client_id)
: IPC::Connection<ServerEndpoint, ClientEndpoint>(stub, move(socket))