File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 22
22
#ifndef BOOST_LAMBDA_CORE_HPP
23
23
#define BOOST_LAMBDA_CORE_HPP
24
24
25
+ #include " boost/config.hpp"
26
+
25
27
#include " boost/type_traits/transform_traits.hpp"
26
28
#include " boost/type_traits/cv_traits.hpp"
27
29
@@ -66,9 +68,9 @@ namespace {
66
68
boost::lambda::placeholder2_type free2 = boost::lambda::placeholder2_type();
67
69
boost::lambda::placeholder3_type free3 = boost::lambda::placeholder3_type();
68
70
69
- boost::lambda::placeholder1_type& _1 = free1;
70
- boost::lambda::placeholder2_type& _2 = free2;
71
- boost::lambda::placeholder3_type& _3 = free3;
71
+ boost::lambda::placeholder1_type& BOOST_ATTRIBUTE_UNUSED _1 = free1;
72
+ boost::lambda::placeholder2_type& BOOST_ATTRIBUTE_UNUSED _2 = free2;
73
+ boost::lambda::placeholder3_type& BOOST_ATTRIBUTE_UNUSED _3 = free3;
72
74
// _1, _2, ... naming scheme by Peter Dimov
73
75
} // unnamed
74
76
You can’t perform that action at this time.
0 commit comments