From: Peter Munch Date: Wed, 31 Mar 2021 10:52:02 +0000 (+0200) Subject: Delete default constructor FESystem X-Git-Tag: v9.3.0-rc1~257^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11992%2Fhead;p=dealii.git Delete default constructor FESystem --- diff --git a/include/deal.II/fe/fe_system.h b/include/deal.II/fe/fe_system.h index 082db59965..259098e443 100644 --- a/include/deal.II/fe/fe_system.h +++ b/include/deal.II/fe/fe_system.h @@ -210,12 +210,17 @@ class FE_Enriched; * * @ingroup febase fe vector_valued * - * Hartmann 2001. */ template class FESystem : public FiniteElement { public: + /** + * Delete default constructor so that `FESystem(FEPairs &&... fe_pairs)` is + * not accidentally picked if no FiniteElement is provided. + */ + FESystem() = delete; + /** * Constructor. Take a finite element and the number of elements you want to * group together using this class.