Commit 35814945 authored by Alex Hultman's avatar Alex Hultman

Fix mismatching class/struct

parent b0169cc7
......@@ -137,7 +137,7 @@ struct WIN32_EXPORT HttpSocket : uS::Socket {
size_t subprotocolLength, bool *perMessageDeflate);
private:
friend class uS::Socket;
friend struct uS::Socket;
friend struct HttpResponse;
friend struct Hub;
static uS::Socket *onData(uS::Socket *s, char *data, size_t length);
......
......@@ -57,7 +57,7 @@ struct WIN32_EXPORT WebSocket : uS::Socket, WebSocketProtocol<isServer> {
static void finalizeMessage(PreparedMessage *preparedMessage);
private:
friend class uS::Socket;
friend struct uS::Socket;
template <bool> friend struct Group;
static uS::Socket *onData(uS::Socket *s, char *data, size_t length);
static void onEnd(uS::Socket *s);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment