Fix prototype (forgot const)

This commit is contained in:
Patrick Pelissier committed 2018-06-29 19:41:20 +02:00
1 parent 817724ce39
commit e16d352e71
1 file changed
+1 -1
+1 -1
View File
@@ -212,7 +212,7 @@ namespace m_tuple {
M_MAP2(TUPLE_DEFINE_SETTER_PROTO, name, __VA_ARGS__)
#define TUPLE_DEFINE_SETTER_PROTO(name, a) \
static inline void M_C3(name, _set_, TUPLE_GET_FIELD a) \
(M_C(name,_t) my, TUPLE_GET_TYPE a TUPLE_GET_FIELD a) { \
(M_C(name,_t) my, const TUPLE_GET_TYPE a TUPLE_GET_FIELD a) { \
TUPLE_GET_SET a (my ->TUPLE_GET_FIELD a, TUPLE_GET_FIELD a);}