From 6beb76119b32799aaff9736acad31a5315a1c38a Mon Sep 17 00:00:00 2001 From: Marco Agnese <m.agnese13@imperial.ac.uk> Date: Wed, 29 Mar 2017 15:50:55 +0100 Subject: [PATCH] [bugfix] make getRealImplementation public --- dune/grid/albertagrid/agrid.hh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dune/grid/albertagrid/agrid.hh b/dune/grid/albertagrid/agrid.hh index b008a068ba..863099e2e7 100644 --- a/dune/grid/albertagrid/agrid.hh +++ b/dune/grid/albertagrid/agrid.hh @@ -287,11 +287,10 @@ namespace Dune typedef Alberta::HierarchyDofNumbering< dimension > DofNumbering; typedef AlbertaGridLevelProvider< dimension > LevelProvider; - // forbid copying and assignment - AlbertaGrid ( const This & ); - This &operator= ( const This & ); - public: + AlbertaGrid ( const This & ) = delete; + This &operator= ( const This & ) = delete; + /** \brief create an empty grid */ AlbertaGrid (); @@ -536,9 +535,9 @@ namespace Dune DUNE_DEPRECATED_MSG("Deprecated in Dune 3.0, use readGrid instead.") readGridXdr ( const std::string &filename, ctype &time ); - private: using Base::getRealImplementation; + private: typedef std::vector<int> ArrayType; void setup (); -- GitLab