]> git.sesse.net Git - cubemap/commitdiff
Use C++11 right angle brackets.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 5 Apr 2018 07:41:16 +0000 (09:41 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 5 Apr 2018 07:41:16 +0000 (09:41 +0200)
server.h

index 1e6f44a57eb8e7a07382c1e7b473db80f97899aa..40e9f7575b708e8d3dc5f9f83268ff7793f6cc04 100644 (file)
--- a/server.h
+++ b/server.h
@@ -84,7 +84,7 @@ private:
        //    can be taken a lot of the time.
        //      
        // Protected by <queued_clients_mutex>.
-       std::vector<std::pair<int, Acceptor *> > queued_add_clients;
+       std::vector<std::pair<int, Acceptor *>> queued_add_clients;
 
        // All variables below this line are protected by the mutex.
        mutable pthread_mutex_t mutex;
@@ -112,7 +112,7 @@ private:
        // This means that when reading it, we need to check if the client it
        // describes is still exists (ie., that the fd still exists, and that
        // the timespec matches).
-       std::queue<std::pair<timespec, int> > clients_ordered_by_connect_time;
+       std::queue<std::pair<timespec, int>> clients_ordered_by_connect_time;
 
        // Used for epoll implementation (obviously).
        int epoll_fd;