Avoid compiling error in MSVC

This commit is contained in:
Ziyi Zhang 2016-12-20 15:21:40 +11:00
commit 5cdf4aa540

View file

@ -103,7 +103,7 @@ namespace SimpleWeb {
timer->cancel();
if(ec) {
std::lock_guard<std::mutex> lock(socket_mutex);
socket=nullptr;
this->socket=nullptr;
throw boost::system::system_error(ec);
}
});