From 97d0155c36aaaef79d70ffbbcd13ee83f2dfbbbd Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 20 Feb 2015 14:29:05 +0100 Subject: [PATCH] Rely on auto instead of querying the explicit type via e.g. typename UgGridHelpers::Face2VerticesTraits::Type --- opm/core/simulator/initStateEquil_impl.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/opm/core/simulator/initStateEquil_impl.hpp b/opm/core/simulator/initStateEquil_impl.hpp index 9d0c6e7dd..1e58e02ef 100644 --- a/opm/core/simulator/initStateEquil_impl.hpp +++ b/opm/core/simulator/initStateEquil_impl.hpp @@ -541,10 +541,8 @@ namespace Opm // imposes the requirement that cell centroids are all // within this vertical span. That requirement is not // checked. - typename UgGridHelpers::Cell2FacesTraits::Type - cell2Faces = UgGridHelpers::cell2Faces(G); - typename UgGridHelpers::Face2VerticesTraits::Type - faceVertices = UgGridHelpers::face2Vertices(G); + auto cell2Faces = UgGridHelpers::cell2Faces(G); + auto faceVertices = UgGridHelpers::face2Vertices(G); for (typename CellRange::const_iterator ci = cells.begin(), ce = cells.end();