SHA256
8
0
forked from pool/cpprest
Files
cpprest/cpprest-2.10.1-srand-boost-1.66.patch
Andreas Stieger 3d7fb9cda8 Accepting request 561866 from home:1Antoine1:branches:devel:libraries:c_c++
- Update to version 2.10.1:
  * Improve CMake generation of UWP binaries.
  * Fix regression in CMake versions supported. As listed in the
    main CMakeLists.txt, we intend to only require 3.0.
  * Mirror changes in the main PPL sources to
    Concurrency::details::do_while(), which yield a significant
    compiler throughput improvement on MSVC.
  * Fix issues under /permissive-, an on-by-default flag for new
    projects in VS2017 15.5.
- Fix build with Boost 1.66:
  * Add cpprest-2.10.1-srand-boost-1.66.patch.
  * Add cpprest-2.10.1-threadpool-boost-1.66.patch.

OBS-URL: https://build.opensuse.org/request/show/561866
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=28
2018-01-08 16:36:24 +00:00

23 lines
1.0 KiB
Diff

From 6b2e0480018530b616f61d5cdc786c92ba148bb7 Mon Sep 17 00:00:00 2001
From: John Hruby <johnh@vitrium.com>
Date: Tue, 26 Dec 2017 16:52:13 +0100
Subject: [PATCH] fixed strand
---
Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp b/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp
index 0be40f6b..395632c3 100644
--- a/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp
+++ b/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp
@@ -422,7 +422,7 @@ class connection : public config::socket_type::socket_con_type {
m_io_service = io_service;
if (config::enable_multithreading) {
- m_strand = lib::make_shared<boost::asio::strand>(
+ m_strand = lib::make_shared<boost::asio::io_service::strand>(
lib::ref(*io_service));
m_async_read_handler = m_strand->wrap(lib::bind(