From b2502224da1ded376f09a56dda43ce9bf45a23b8 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 31 Aug 2015 10:32:48 +0200 Subject: [PATCH] Another non-MPI fix --- include/deal.II/distributed/shared_tria.h | 9 +-------- source/distributed/shared_tria.cc | 9 ++------- 2 files changed, 3 insertions(+), 15 deletions(-) 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()); } -- 2.39.5