X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fmoof%2Fsocket.hh;h=08a5f50b1e88bec974ab9d1988d83eb10459a561;hb=d6990468d297a6cbee98e4d0d33ab37e1b2352c9;hp=c592fdbfb097dd4488d2590a94c8ce267b9aadcf;hpb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c;p=chaz%2Fyoink diff --git a/src/moof/socket.hh b/src/moof/socket.hh index c592fdb..08a5f50 100644 --- a/src/moof/socket.hh +++ b/src/moof/socket.hh @@ -1002,7 +1002,7 @@ public: void socket(moof::socket sock) { - mutex::scoped_lock lock(mutex_); + MOOF_MUTEX_LOCK(mutex_); socket_ = sock; } @@ -1046,7 +1046,8 @@ private: moof::socket socket_; std::vector protocols_; - mutex mutex_; + + MOOF_DECLARE_MUTEX(mutex_); };