Skip to content

Commit 74f88ca

Browse files
authored
Merge pull request #42 from canhld94/fix_odr
Fix ODR
2 parents 1154d2b + 620bf4c commit 74f88ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boost/phoenix/stl/tuple.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ namespace boost { namespace phoenix {
109109
// Make unpacked argument placeholders
110110
namespace placeholders {
111111
#define BOOST_PP_LOCAL_LIMITS (1, BOOST_PHOENIX_ARG_LIMIT)
112-
#define BOOST_PP_LOCAL_MACRO(N) \
113-
auto uarg##N = \
112+
#define BOOST_PP_LOCAL_MACRO(N) \
113+
const auto uarg##N = \
114114
boost::phoenix::get_<(N)-1>(boost::phoenix::placeholders::arg1);
115115
#include BOOST_PP_LOCAL_ITERATE()
116116
}

0 commit comments

Comments
 (0)