Avoid compiling error in MSVC
This commit is contained in:
parent
db95a64354
commit
5cdf4aa540
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ namespace SimpleWeb {
|
||||||
timer->cancel();
|
timer->cancel();
|
||||||
if(ec) {
|
if(ec) {
|
||||||
std::lock_guard<std::mutex> lock(socket_mutex);
|
std::lock_guard<std::mutex> lock(socket_mutex);
|
||||||
socket=nullptr;
|
this->socket=nullptr;
|
||||||
throw boost::system::system_error(ec);
|
throw boost::system::system_error(ec);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue