summarylogtreecommitdiffstats
path: root/boost.patch
diff options
context:
space:
mode:
Diffstat (limited to 'boost.patch')
-rw-r--r--boost.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/boost.patch b/boost.patch
new file mode 100644
index 000000000000..d12a5f394ea3
--- /dev/null
+++ b/boost.patch
@@ -0,0 +1,23 @@
+From c60336895b398f2557adf146c3b4a8a03a541e27 Mon Sep 17 00:00:00 2001
+From: maksis <maksis@adrenaline-network.com>
+Date: Sat, 2 Feb 2019 05:52:03 +0200
+Subject: [PATCH] Fix compiling with Boost 1.69
+
+https://github.com/airdcpp-web/airdcpp-webclient/issues/308
+---
+ airdcpp/airdcpp/Client.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/airdcpp/airdcpp/Client.cpp b/airdcpp/airdcpp/Client.cpp
+index 997d9dcde..1412ae9d0 100644
+--- a/airdcpp/airdcpp/Client.cpp
++++ b/airdcpp/airdcpp/Client.cpp
+@@ -143,7 +143,7 @@ void Client::reloadSettings(bool aUpdateNick) noexcept {
+ }
+
+ bool Client::changeBoolHubSetting(HubSettings::HubBoolSetting aSetting) noexcept {
+- auto newValue = !get(aSetting);
++ auto newValue = static_cast<bool>(!get(aSetting));
+ get(aSetting) = newValue;
+
+ //save for a favorite hub if needed