From: David Wells Date: Mon, 20 Jul 2020 15:41:31 +0000 (-0400) Subject: Fix a warning about virtual destructors and virtual functions. X-Git-Tag: v9.3.0-rc1~1262^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10729%2Fhead;p=dealii.git Fix a warning about virtual destructors and virtual functions. --- diff --git a/include/deal.II/grid/reference_cell.h b/include/deal.II/grid/reference_cell.h index 8832704e63..d4bcccb6d0 100644 --- a/include/deal.II/grid/reference_cell.h +++ b/include/deal.II/grid/reference_cell.h @@ -89,6 +89,11 @@ namespace ReferenceCell */ struct Base { + /** + * Destructor. + */ + virtual ~Base() = default; + /** * Number of vertices. */