summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/Boost')
-rw-r--r--3rdParty/Boost/2_fix_asio_warning.diff13
-rw-r--r--3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp2
2 files changed, 14 insertions, 1 deletions
diff --git a/3rdParty/Boost/2_fix_asio_warning.diff b/3rdParty/Boost/2_fix_asio_warning.diff
new file mode 100644
index 0000000..1fc83b3
--- /dev/null
+++ b/3rdParty/Boost/2_fix_asio_warning.diff
@@ -0,0 +1,13 @@
+diff --git a/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp b/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp
+index c1a6705..f33c985 100644
+--- a/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp
++++ b/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp
+@@ -206,7 +206,7 @@ public:
+ // Cancel all operations associated with the given descriptor. The
+ // handlers associated with the descriptor will be invoked with the
+ // operation_aborted error.
+- void cancel_ops(socket_type descriptor, per_descriptor_data& descriptor_data)
++ void cancel_ops(socket_type /*descriptor*/, per_descriptor_data& descriptor_data)
+ {
+ mutex::scoped_lock descriptor_lock(descriptor_data->mutex_);
+
diff --git a/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp b/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp
index c1a6705..f33c985 100644
--- a/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp
+++ b/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp
@@ -206,7 +206,7 @@ public:
// Cancel all operations associated with the given descriptor. The
// handlers associated with the descriptor will be invoked with the
// operation_aborted error.
- void cancel_ops(socket_type descriptor, per_descriptor_data& descriptor_data)
+ void cancel_ops(socket_type /*descriptor*/, per_descriptor_data& descriptor_data)
{
mutex::scoped_lock descriptor_lock(descriptor_data->mutex_);