[Dune] [Dune-Commit] dune-common r6279 - trunk/dune/common

Oliver Sander sander at mi.fu-berlin.de
Tue Nov 30 11:55:27 CET 2010


Hi Andreas!
The method basicType() is deprecated, hence the DUNE_DEPRECATED
attribute should be in the code.  If the warnings bother you then you
are free to remove it in your local copy, but I would want to keep it in
the repository.  Otherwise we will just forget about it.  So please revert
your patch.

Best,
Oliver

Am 30.11.2010 00:33, schrieb dedner at dune-project.org:
> Author: dedner
> Date: 2010-11-30 00:33:34 +0100 (Tue, 30 Nov 2010)
> New Revision: 6279
>
> Modified:
>     trunk/dune/common/geometrytype.hh
> Log:
> let us deprecated this when it is really not used anymore
>
> Modified: trunk/dune/common/geometrytype.hh
> ===================================================================
> --- trunk/dune/common/geometrytype.hh	2010-11-29 12:06:01 UTC (rev 6278)
> +++ trunk/dune/common/geometrytype.hh	2010-11-29 23:33:34 UTC (rev 6279)
> @@ -243,7 +243,7 @@
>           }
>
>           /** \brief Return the basic type of the type */
> -        BasicType basicType() const DUNE_DEPRECATED {
> +        BasicType basicType() const {
>               if (isSimplex())
>                   return GeometryType::simplex;
>               if (isCube())
>
>
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit
>    


-- 
************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75348           *
* Institut für Mathematik      ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************





More information about the Dune mailing list