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=85e653bd02744b7e181bec7f1dd7a39c8b9d1142;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. */