Skip to content
Snippets Groups Projects
Commit 0f37868a authored by Jorrit Fahlke's avatar Jorrit Fahlke
Browse files

[Dune::AtType] Bugfix: member "Type" should be a type, not a variable!

Also avoid use of deprecated Dune::ElementType in favor of tuple_element.

[[Imported from SVN: r6070]]
parent 90499925
Branches
Tags
No related merge requests found
......@@ -485,8 +485,8 @@ namespace Dune {
*/
template <int N, class Tuple>
struct AtType {
typename ElementType<Length<Tuple>::value - N - 1,
Tuple>::Type Type;
typedef typename tuple_element<Length<Tuple>::value - N - 1,
Tuple>::type Type;
};
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment