From: Wolfgang Bangerth Date: Thu, 16 Jan 2025 16:33:14 +0000 (-0700) Subject: Fix a comment. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18006%2Fhead;p=dealii.git Fix a comment. --- diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index 35d91fd786..df0304cf6f 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -1775,11 +1775,12 @@ namespace parallel DEAL_II_CXX20_REQUIRES((concepts::is_valid_dim_spacedim)) Triangulation::~Triangulation() { - // virtual functions called in constructors and destructors never use the - // override in a derived class - // for clarity be explicit on which function is called try { + // Calling virtual functions in constructors and destructors + // is not entirely intuitive and may not result in what one + // expects. For clarity be explicit on which function is + // called: parallel::distributed::Triangulation::clear(); } catch (...)