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

Christian Engwer christian.engwer at uni-muenster.de
Mon Jan 9 12:18:44 CET 2012


Hi Robert,

On Mon, Jan 09, 2012 at 12:04:09PM +0100, robertk at dune-project.org wrote:
> Author: robertk
> Date: 2012-01-09 12:04:09 +0100 (Mon, 09 Jan 2012)
> New Revision: 6545
> 
> Modified:
>    trunk/dune/common/reservedvector.hh
> Log:
> only protect data for further use. 

strictly speaking this is an interface change.

All protected members are practically public and thus become part of
the interface (can not be changed without adapting all derived
classes).

Could you elaborate, what you intent with this patch?

Cheers
Christian


> 
> 
> 
> Modified: trunk/dune/common/reservedvector.hh
> ===================================================================
> --- trunk/dune/common/reservedvector.hh	2012-01-08 18:44:05 UTC (rev 6544)
> +++ trunk/dune/common/reservedvector.hh	2012-01-09 11:04:09 UTC (rev 6545)
> @@ -187,7 +187,7 @@
>              return s;
>          }
>  
> -    private:
> +    protected:
>          T data[n];
>          size_type sz;
>      };
> 
> 
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit
> 




More information about the Dune mailing list