From: Marc Fehling Date: Mon, 24 Dec 2018 02:06:19 +0000 (+0100) Subject: Added default destructor to la::p::BlockVector. X-Git-Tag: v9.1.0-rc1~482^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7549%2Fhead;p=dealii.git Added default destructor to la::p::BlockVector. --- diff --git a/include/deal.II/lac/la_parallel_block_vector.h b/include/deal.II/lac/la_parallel_block_vector.h index 4ad684f771..bd607b34b2 100644 --- a/include/deal.II/lac/la_parallel_block_vector.h +++ b/include/deal.II/lac/la_parallel_block_vector.h @@ -179,6 +179,16 @@ namespace LinearAlgebra BlockVector(const std::vector &local_ranges, const MPI_Comm communicator); + /** + * Destructor. + * + * @note We need to explicitly provide a destructor, otherwise the + * linker may think it is unused and discards it, although required + * in a different section. The Intel compiler is prone to this + * behavior. + */ + virtual ~BlockVector() override = default; + /** * Copy operator: fill all components of the vector with the given * scalar value.