X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=httpinput.h;h=31819f947ec54f4e225e95609e6fb86562867898;hp=ac52bfc34b019e91fa58dc688306d872695ca7f8;hb=50651c954803c1941e6ad1bb494712891c18f7d2;hpb=f0621e41fdb96ce1bd58e7561e0aa76345072ba3 diff --git a/httpinput.h b/httpinput.h index ac52bfc..31819f9 100644 --- a/httpinput.h +++ b/httpinput.h @@ -1,8 +1,8 @@ #ifndef _HTTPINPUT_H #define _HTTPINPUT_H 1 -#include #include +#include #include #include @@ -93,7 +93,7 @@ private: int sock = -1; // Mutex protecting . - mutable pthread_mutex_t stats_mutex; + mutable std::mutex stats_mutex; // The current statistics for this connection. Protected by . InputStats stats;