[Dune] [Dune-Commit] dune-grid r8001 - in trunk/dune/grid: genericgeometry/test utility/test
Christian Engwer
christian.engwer at uni-muenster.de
Mon Apr 23 10:01:24 CEST 2012
Hi Christoph,
> Log:
> Get rid of another two deprecation warnings.
...
> Modified: trunk/dune/grid/genericgeometry/test/testgeo.cc
> ===================================================================
> --- trunk/dune/grid/genericgeometry/test/testgeo.cc 2012-04-21 13:07:55 UTC (rev 8000)
> +++ trunk/dune/grid/genericgeometry/test/testgeo.cc 2012-04-23 05:15:51 UTC (rev 8001)
> @@ -122,8 +122,8 @@
...
> - const unsigned int topologyId = GenericGeometry::topologyId( geoDune.type() );
> + const GeometryType gt = geoDune.type();
If I spotted this correctly, you basically changed one single line to
fix the warning, but renaming some types and variables lead to a
8-times larger patch. I understand that it sometime helps to rename
types to understand the code, but in this case I think the code was
quite readable and the renaming hides the actual fix quite
efficiently.
Christian
More information about the Dune
mailing list