]> git.sesse.net Git - cubemap/blobdiff - server.h
Make a useful constructor for Client.
[cubemap] / server.h
index 0f93b7f0b034caa1eb88a276f3b2aa40fa78fc83..6311c68095c6ef9558bbb7518fb5e8d9a2caae02 100644 (file)
--- a/server.h
+++ b/server.h
@@ -13,6 +13,9 @@
 #define MAX_CLIENT_REQUEST 16384
 
 struct Client {
+       Client() {}
+       Client(int sock);
+
        // The file descriptor associated with this socket.
        int sock;