From 16bcaf08a3df64504bf34feaa62e8272d22057bf Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 25 Jul 2019 11:48:21 +0200 Subject: [PATCH] CSocket: Fix Clang warning about unused private member m_type. --- Libraries/LibCore/CSocket.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Libraries/LibCore/CSocket.h b/Libraries/LibCore/CSocket.h index 28702306d3..6b18894390 100644 --- a/Libraries/LibCore/CSocket.h +++ b/Libraries/LibCore/CSocket.h @@ -15,6 +15,8 @@ public: }; virtual ~CSocket() override; + Type type() const { return m_type; } + bool connect(const String& hostname, int port); bool connect(const CSocketAddress&, int port); bool connect(const CSocketAddress&);