vcpkg/ports/boost-concept-check/fix-warning-c4834.patch

14 lines
446 B
Diff
Raw Normal View History

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;
}