vcpkg/ports/boost-concept-check/fix-warning-c4834.patch
Cheney Wang 65b70e6940
[boost-concept-check] Fix warning C4834 when install pagmo2 (#15887)
* [boost-concept-check] Fix warning C4834 when install pagmo2

* Update json files

* Modify patch

* update version

* Modify the patch with other workaround

* Update git-tree

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2021-02-08 17:45:19 -08:00

14 lines
446 B
Diff

diff --git a/include/boost/concept_check.hpp b/include/boost/concept_check.hpp
index abbadb7..cab58e5 100644
--- a/include/boost/concept_check.hpp
+++ b/include/boost/concept_check.hpp
@@ -352,7 +352,7 @@ namespace boost
private:
void test(boost::false_type)
{
- f(first,second);
+ (void) f(first,second);
Return r = f(first, second); // require operator()
(void)r;
}