From 85fd1e434f3684ec2358af556ccf73d399dfa1fd Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 9 Mar 2021 06:51:48 -0800 Subject: [PATCH] Fix MSVC 'unused return' warning; Addresses #31 --- include/boost/concept_check.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/concept_check.hpp b/include/boost/concept_check.hpp index abbadb7..72bd9c2 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; }