mirror of
https://github.com/boostorg/multi_array.git
synced 2025-05-12 13:51:36 +00:00
GCC 4.8 -Wunused-local-typedefs complains about an unused local typedef.
fixes #9888.
This commit is contained in:
parent
0cb44bf7dc
commit
8da3864210
@ -39,8 +39,6 @@ namespace detail {
|
|||||||
|
|
||||||
template <typename Array, typename IdxGen, typename Call_Type>
|
template <typename Array, typename IdxGen, typename Call_Type>
|
||||||
static void call(Array& a, const IdxGen& idgen, Call_Type c) {
|
static void call(Array& a, const IdxGen& idgen, Call_Type c) {
|
||||||
typedef typename Array::index_range index_range;
|
|
||||||
typedef typename Array::index index;
|
|
||||||
idgen_helper<N-1>::call(a,idgen[c],c);
|
idgen_helper<N-1>::call(a,idgen[c],c);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -50,8 +48,6 @@ namespace detail {
|
|||||||
|
|
||||||
template <typename Array, typename IdxGen, typename Call_Type>
|
template <typename Array, typename IdxGen, typename Call_Type>
|
||||||
static void call(Array& a, const IdxGen& idgen, Call_Type) {
|
static void call(Array& a, const IdxGen& idgen, Call_Type) {
|
||||||
typedef typename Array::index_range index_range;
|
|
||||||
typedef typename Array::index index;
|
|
||||||
a[ idgen ];
|
a[ idgen ];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user