Skip to content

Commit 0dc8ce7

Browse files
committed
Fix 64-bit build issue
Not sure why it only came up in 64-bit build...
1 parent 7ffd528 commit 0dc8ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/src/http/client/http_linux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ namespace web { namespace http
278278
auto timeout = m_config.timeout();
279279
int secs = static_cast<int>(timeout.count());
280280
ctx->m_timer->expires_from_now(boost::posix_time::milliseconds(secs * 1000));
281-
ctx->m_timer->async_wait(boost::bind(&linux_request_context::cancel, ctx, boost::asio::placeholders::error));
281+
ctx->m_timer->async_wait(boost::bind(&linux_request_context::cancel, ctx.get(), boost::asio::placeholders::error));
282282

283283
m_resolver.async_resolve(query, boost::bind(&client::handle_resolve, this, boost::asio::placeholders::error, boost::asio::placeholders::iterator, ctx));
284284
}

0 commit comments

Comments
 (0)