X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=udpinput.h;h=4de9788768e71ed1a98bccd844eade0d5b5f05ab;hp=b3f504aa20255943302a77e5673489fd89ba4831;hb=50651c954803c1941e6ad1bb494712891c18f7d2;hpb=f0621e41fdb96ce1bd58e7561e0aa76345072ba3 diff --git a/udpinput.h b/udpinput.h index b3f504a..4de9788 100644 --- a/udpinput.h +++ b/udpinput.h @@ -1,7 +1,7 @@ #ifndef _UDPINPUT_H #define _UDPINPUT_H 1 -#include +#include #include #include @@ -47,7 +47,7 @@ private: char packet_buf[65536]; // Mutex protecting . - mutable pthread_mutex_t stats_mutex; + mutable std::mutex stats_mutex; // The current statistics for this connection. Protected by . InputStats stats;