From 6f7f647ad30a81dd78c937061f98bf00800e7b89 Mon Sep 17 00:00:00 2001
From: Stephan Bergmann <sbergman@redhat.com>
Date: Mon, 14 Apr 2014 11:45:53 +0200
Subject: [PATCH 4/4] multi_array: fix GCC 4.8 -Wunused-local-typedefs warnings
Signed-off-by: Michael Stahl <mstahl@redhat.com>
---
include/boost/multi_array/concept_checks.hpp | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/boost/multi_array/concept_checks.hpp b/include/boost/multi_array/concept_checks.hpp
index 7e5ba5d..a2e2f51 100644
a
|
b
|
namespace detail {
|
39 | 39 | |
40 | 40 | template <typename Array, typename IdxGen, typename Call_Type> |
41 | 41 | static void call(Array& a, const IdxGen& idgen, Call_Type c) { |
42 | | typedef typename Array::index_range index_range_; |
43 | | typedef typename Array::index index_; |
44 | 42 | idgen_helper<N-1>::call(a,idgen[c],c); |
45 | 43 | } |
46 | 44 | }; |
… |
… |
namespace detail {
|
50 | 48 | |
51 | 49 | template <typename Array, typename IdxGen, typename Call_Type> |
52 | 50 | static void call(Array& a, const IdxGen& idgen, Call_Type) { |
53 | | typedef typename Array::index_range index_range_; |
54 | | typedef typename Array::index index_; |
55 | 51 | a[ idgen ]; |
56 | 52 | } |
57 | 53 | }; |