From 253ae93df1020575150f5fa7175b79849f13eedf Mon Sep 17 00:00:00 2001 From: Alden Torres Date: Tue, 16 Aug 2016 00:18:39 -0400 Subject: [PATCH] using appveyor-retry --- appveyor.yml | 2 +- include/libtorrent/extensions.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 9bddd844c..52e4f02f2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -99,7 +99,7 @@ build_script: test_script: - cd %ROOT_DIRECTORY%\test -- b2.exe -l400 --hash warnings-as-errors=on -j2 %compiler% address-model=%model% debug-iterators=on picker-debugging=on invariant-checks=full variant=%variant% %linkflags% %include% link=shared ssl=%ssl% crypto=%crypto% win-tests +- appveyor-retry b2.exe -l400 --hash warnings-as-errors=on -j2 %compiler% address-model=%model% debug-iterators=on picker-debugging=on invariant-checks=full variant=%variant% %linkflags% %include% link=shared ssl=%ssl% crypto=%crypto% win-tests - cd %ROOT_DIRECTORY%\bindings\python # we use 64 bit python build diff --git a/include/libtorrent/extensions.hpp b/include/libtorrent/extensions.hpp index 26df5da11..86755eca6 100644 --- a/include/libtorrent/extensions.hpp +++ b/include/libtorrent/extensions.hpp @@ -259,7 +259,7 @@ namespace libtorrent // ``optimistic_unchoke_feature`` in the return value from implemented_features(). // If multiple plugins implement this function the lowest return value // (i.e. the highest priority) is used. - virtual uint64_t get_unchoke_priority(peer_connection_handle /* peer */) + virtual uint64_t get_unchoke_priority(peer_connection_handle const& /* peer */) { return std::numeric_limits::max(); } // called when saving settings state