From 5cdf4aa54055969076b79f59f5c7cca68f18580d Mon Sep 17 00:00:00 2001 From: Ziyi Zhang Date: Tue, 20 Dec 2016 15:21:40 +1100 Subject: [PATCH] Avoid compiling error in MSVC --- client_http.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_http.hpp b/client_http.hpp index e020fe6..c294e99 100644 --- a/client_http.hpp +++ b/client_http.hpp @@ -103,7 +103,7 @@ namespace SimpleWeb { timer->cancel(); if(ec) { std::lock_guard lock(socket_mutex); - socket=nullptr; + this->socket=nullptr; throw boost::system::system_error(ec); } });