15 lines
770 B
Diff
15 lines
770 B
Diff
https://github.com/boostorg/phoenix/pull/112
|
|
diff --git a/boost/phoenix/stl/tuple.hpp b/boost/phoenix/stl/tuple.hpp
|
|
index a83014ac..d04ad16e 100644
|
|
--- a/boost/phoenix/stl/tuple.hpp
|
|
+++ b/boost/phoenix/stl/tuple.hpp
|
|
@@ -110,7 +110,7 @@ namespace boost { namespace phoenix {
|
|
namespace placeholders {
|
|
#define BOOST_PP_LOCAL_LIMITS (1, BOOST_PHOENIX_ARG_LIMIT)
|
|
#define BOOST_PP_LOCAL_MACRO(N) \
|
|
- auto uarg##N = \
|
|
+ const auto uarg##N = \
|
|
boost::phoenix::get_<(N)-1>(boost::phoenix::placeholders::arg1);
|
|
#include BOOST_PP_LOCAL_ITERATE()
|
|
}
|