From: Martin Kronbichler Date: Mon, 31 Aug 2015 08:32:48 +0000 (+0200) Subject: Another non-MPI fix X-Git-Tag: v8.4.0-rc2~513^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1485%2Fhead;p=dealii.git Another non-MPI fix --- diff --git a/include/deal.II/distributed/shared_tria.h b/include/deal.II/distributed/shared_tria.h index 9d8a676a59..33fcfc7c5a 100644 --- a/include/deal.II/distributed/shared_tria.h +++ b/include/deal.II/distributed/shared_tria.h @@ -121,7 +121,7 @@ namespace parallel * library even if it is disabled. * * Since the constructor of this class is private, no such objects - * can actually be created if we don't have p4est available. + * can actually be created if MPI is not available. */ template class Triangulation : public dealii::parallel::Triangulation @@ -131,13 +131,6 @@ namespace parallel * Constructor. */ Triangulation (); - public: - - /** - * Destructor. - */ - virtual ~Triangulation (); - }; } diff --git a/source/distributed/shared_tria.cc b/source/distributed/shared_tria.cc index 84b0a97130..02d4c99951 100644 --- a/source/distributed/shared_tria.cc +++ b/source/distributed/shared_tria.cc @@ -96,13 +96,8 @@ namespace parallel { template Triangulation::Triangulation () - { - Assert (false, ExcNotImplemented()); - } - - - template - Triangulation::~Triangulation () + : + dealii::parallel::Triangulation(MPI_COMM_SELF) { Assert (false, ExcNotImplemented()); }